blob: 1189be0f3d8e2ce270c74290cca7a19cfbcab612 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=ncdc autoconfig and startup for %i
After=network.target local-fs.target multi-user.target filehooker-hostname.service
[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
|