aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-03-18 16:23:28 +0100
committerDuncaen <mail@duncano.de>2016-03-18 16:23:28 +0100
commitd98399c47021be9f1969cbbc93f0b0e076283ffc (patch)
tree34054a7e0e12565630f4f6154b37a9c3384684d7
parent0b8a7eadde655ed977c6497a36f1c0e1daced8c7 (diff)
downloaddotfiles-d98399c47021be9f1969cbbc93f0b0e076283ffc.tar.gz
runsvdir-duncan: use su
-rwxr-xr-xsv/runsvdir-duncan/run3
1 files changed, 2 insertions, 1 deletions
diff --git a/sv/runsvdir-duncan/run b/sv/runsvdir-duncan/run
index 0a61fa5..af2e1d0 100755
--- a/sv/runsvdir-duncan/run
+++ b/sv/runsvdir-duncan/run
@@ -1,4 +1,5 @@
#!/bin/sh
exec 2>&1
-exec chpst -e ./env -u duncan:duncan runsvdir /home/duncan/service/
+# exec chpst -u duncan -e ./env runsvdir /home/duncan/service
+exec su -l -c "exec runsvdir /home/duncan/service" duncan