summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/etc
diff options
context:
space:
mode:
Diffstat (limited to 'filehooker/root-image/etc')
-rw-r--r--filehooker/root-image/etc/systemd/system/start-ncdc@.service8
1 files changed, 4 insertions, 4 deletions
diff --git a/filehooker/root-image/etc/systemd/system/start-ncdc@.service b/filehooker/root-image/etc/systemd/system/start-ncdc@.service
index 8099678d..2c897126 100644
--- a/filehooker/root-image/etc/systemd/system/start-ncdc@.service
+++ b/filehooker/root-image/etc/systemd/system/start-ncdc@.service
@@ -1,13 +1,13 @@
[Unit]
-Description=ncdc autoconfig
+Description=ncdc autoconfig and startup for %i
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
+#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