blob: 2c89712630cdb6031c2f6397e655e4cbf7670026 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=ncdc autoconfig and startup for %i
Requires=network.target local-fs.target
[Service]
Type=oneshot
RemainAfterExit=yes
#KillMode=none
ExecStart=/usr/bin/tmux new-session -n startup -d "/bin/sh /krebs/bin/start-ncdc.ship"
ExecStop=/usr/bin/sudo -u %i /usr/bin/tmux send-keys -t dcpp:ncdc "/quit" C-m
[Install]
WantedBy=multi-user.target
|