Browse Source

Use chpst instead of djb name setuidgid

Some distros (Ubuntu, Debian?) don't link `chpst` to `setuidgid`, as it
could conflict with djb daemontools installation.  If daemontools isn't
going to be referenced in the README, then the example runit config
should reference the runit packaged utility.
Colin Kennedy 10 years ago
parent
commit
338394f8c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etc/linux-runit/run

+ 1 - 1
etc/linux-runit/run

@@ -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