From 338394f8c346b54ef3264a2a40777b3342bcb219 Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Sun, 8 Mar 2015 18:50:54 -0500 Subject: [PATCH] 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. --- etc/linux-runit/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/linux-runit/run b/etc/linux-runit/run index 7832d4bb4..9e9352703 100644 --- a/etc/linux-runit/run +++ b/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