diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-09-21 20:13:59 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-09-21 20:13:59 (GMT) |
commit | 133c9ea02b7b87ecd6f85cdf4be4f82870860648 (patch) | |
tree | dfaa5ee68ef3375ca0049bcae39517bbf3ed389c /abs/core/runit-scripts/runitscripts/services/remyth | |
parent | ad7da086568778579b2f81cedf7aa4690e220b6e (diff) | |
download | linhes_pkgbuild-133c9ea02b7b87ecd6f85cdf4be4f82870860648.zip linhes_pkgbuild-133c9ea02b7b87ecd6f85cdf4be4f82870860648.tar.gz linhes_pkgbuild-133c9ea02b7b87ecd6f85cdf4be4f82870860648.tar.bz2 |
runit-scripts: mythbackend run, mythexpress run, remyth run - don't use su in exec
At some point after su was updated runit can no longer manage process started with su and gives runsv not running errors when starting/stoping services. chpst is bundled with runit and is used as a replacement. However mythbackend gives tuner permissions errors when run with chpst on my systems. Using sudo to start mythbackend doesn't give the tuner errors and runit can manage the process. frontend alos uses su but I am not sure of a solution there.
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/remyth')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/remyth/run | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/remyth/run b/abs/core/runit-scripts/runitscripts/services/remyth/run index 430d535..9667b87 100755 --- a/abs/core/runit-scripts/runitscripts/services/remyth/run +++ b/abs/core/runit-scripts/runitscripts/services/remyth/run @@ -6,5 +6,4 @@ export TERM=linux /usr/bin/svwaitup -s 10 /service/avahi stat_runit "Starting ReMyth" -exec su http -s/bin/bash -c "node /usr/remyth/server.js" - +exec chpst -u http node /usr/remyth/app.js |