diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
3 files changed, 3 insertions, 5 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run index 8afd737..d97cf21 100755 --- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run +++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run @@ -79,5 +79,5 @@ export HOME=/root stat_runit "Starting Primary MythBackend" fi - exec su mythtv -c "/usr/bin/mythbackend -q --syslog local6" + exec sudo -u mythtv /usr/bin/mythbackend -q --syslog local6 # fi diff --git a/abs/core/runit-scripts/runitscripts/services/mythexpress/run b/abs/core/runit-scripts/runitscripts/services/mythexpress/run index 7410f43..06e4a1b 100755 --- a/abs/core/runit-scripts/runitscripts/services/mythexpress/run +++ b/abs/core/runit-scripts/runitscripts/services/mythexpress/run @@ -5,5 +5,4 @@ export TERM=linux . /etc/rc.d/functions /usr/bin/svwaitup -s 10 /service/avahi stat_runit "Starting MythExpress" -exec su http -s/bin/bash -c "node /usr/mythexpress/app.js" - +exec chpst -u http node /usr/mythexpress/app.js 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 |