Merge pull request #1429 from moshen/runit-fix

Use chpst instead of djb name setuidgid
This commit is contained in:
Jakob Borg 2015-03-09 23:50:08 +01:00
commit cc4b231875

View File

@ -4,5 +4,5 @@ export USERNAME=jb
export HOME="/home/$USERNAME"
export SYNCTHING="$HOME/bin/syncthing"
setuidgid "$USERNAME" "$SYNCTHING" -logflags 0 2>&1 | logger -t syncthing
chpst -u "$USERNAME" "$SYNCTHING" -logflags 0 2>&1 | logger -t syncthing