summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/etc/systemd/system/start-ncdc.service
blob: 8099678d67768882b37ae01a058f0904e28d2b96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=ncdc autoconfig
Requires=network.target local-fs.target

[Service]
Type=oneshot
RemainAfterExit=yes
KillMode=none
ExecStart=sh /krebs/bin/startup_ncdc.ship
ExecStop=sudo -u hooker /usr/bin/tmux send-keys -t dcpp:ncdc "/quit" C-m

[Install]
WantedBy=multi-user.target