aboutsummaryrefslogtreecommitdiff
path: root/sv/runsvdir-duncan/run
diff options
context:
space:
mode:
Diffstat (limited to 'sv/runsvdir-duncan/run')
-rwxr-xr-xsv/runsvdir-duncan/run3
1 files changed, 1 insertions, 2 deletions
diff --git a/sv/runsvdir-duncan/run b/sv/runsvdir-duncan/run
index af2e1d0..0a61fa5 100755
--- a/sv/runsvdir-duncan/run
+++ b/sv/runsvdir-duncan/run
@@ -1,5 +1,4 @@
#!/bin/sh
exec 2>&1
-# exec chpst -u duncan -e ./env runsvdir /home/duncan/service
-exec su -l -c "exec runsvdir /home/duncan/service" duncan
+exec chpst -e ./env -u duncan:duncan runsvdir /home/duncan/service/