diff options
author | James Meyer <james.meyer@operamail.com> | 2014-10-19 23:10:55 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-10-19 23:10:55 (GMT) |
commit | db420b9dfa1df8082f1b9655cdc9e2ebc1a0d002 (patch) | |
tree | f21d931e5906f21e828085f45cb53f50788b29ee /abs/core/runit-scripts/runitscripts/services/evrouter | |
parent | a2ab677040c35b12c2554f3b4aa1cbbdaaa336eb (diff) | |
download | linhes_pkgbuild-db420b9dfa1df8082f1b9655cdc9e2ebc1a0d002.zip linhes_pkgbuild-db420b9dfa1df8082f1b9655cdc9e2ebc1a0d002.tar.gz linhes_pkgbuild-db420b9dfa1df8082f1b9655cdc9e2ebc1a0d002.tar.bz2 |
runit-scripts: change frontend, evrouter, vnc to use sudo instead of su. This allows runit to start/stop the service as needed.
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/evrouter')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/evrouter/run | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/evrouter/run b/abs/core/runit-scripts/runitscripts/services/evrouter/run index 7d9e1d2..82d0268 100755 --- a/abs/core/runit-scripts/runitscripts/services/evrouter/run +++ b/abs/core/runit-scripts/runitscripts/services/evrouter/run @@ -16,6 +16,7 @@ then sv start Xvfb fi - su mythtv -c "DISPLAY=localhost:50 evrouter -c /etc/evrouter.cfg -f /dev/input/event*" + #su mythtv -c "DISPLAY=localhost:50 evrouter -c /etc/evrouter.cfg -f /dev/input/event*" + exec sudo -u mythtv -i DISPLAY=localhost:50 evrouter -c /etc/evrouter.cfg -f /dev/input/event* fi |