summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-09-30 14:11:30 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-09-30 14:11:30 (GMT)
commitf334e5d80b50663dc514f1a1c2596d5168bb9f33 (patch)
treeb3d47de618b0bbc87f9397ea4ed023b160d4aaef /abs/core/runit-scripts/runitscripts
parent70481ff5f43678e06b12f2c611042e5c8f35d637 (diff)
downloadlinhes_pkgbuild-f334e5d80b50663dc514f1a1c2596d5168bb9f33.zip
linhes_pkgbuild-f334e5d80b50663dc514f1a1c2596d5168bb9f33.tar.gz
linhes_pkgbuild-f334e5d80b50663dc514f1a1c2596d5168bb9f33.tar.bz2
runit-scripts: change frontend and vnc to start usingg su
runit can't term processes run with sudo and the -i option
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/frontend/run4
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/vnc/run4
2 files changed, 4 insertions, 4 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/frontend/run b/abs/core/runit-scripts/runitscripts/services/frontend/run
index 22b65db..7a80665 100755
--- a/abs/core/runit-scripts/runitscripts/services/frontend/run
+++ b/abs/core/runit-scripts/runitscripts/services/frontend/run
@@ -21,5 +21,5 @@ stat_runit "Starting LinHES frontend"
# fi
#echo "Starting LinHES frontend" >/dev/tty1
-#exec /bin/su - mythtv -l -c /usr/LH/bin/LinHES-start
-exec sudo -u mythtv -i /usr/LH/bin/LinHES-start
+exec su - mythtv -l -c /usr/LH/bin/LinHES-start
+#exec sudo -u mythtv -i /usr/LH/bin/LinHES-start
diff --git a/abs/core/runit-scripts/runitscripts/services/vnc/run b/abs/core/runit-scripts/runitscripts/services/vnc/run
index bc411b1..b67d174 100755
--- a/abs/core/runit-scripts/runitscripts/services/vnc/run
+++ b/abs/core/runit-scripts/runitscripts/services/vnc/run
@@ -11,5 +11,5 @@ geometry=1024x768
#. /etc/conf.d/vncserver 2>/dev/null
cp -f $MV_ROOT/templates/vnc.service /etc/avahi/services/vnc.service 2>/dev/null
cd ~vncsvc
-#exec su vncsvc -c "/usr/bin/vncserver -fg -geometry $geometry :1" 2>/var/log/vnc.log
-exec sudo -u vncsvc -i /usr/bin/vncserver -fg -geometry $geometry :1 2>/var/log/vnc.log
+exec su vncsvc -c "/usr/bin/vncserver -fg -geometry $geometry :1" 2>/var/log/vnc.log
+#exec sudo -u vncsvc -i /usr/bin/vncserver -fg -geometry $geometry :1 2>/var/log/vnc.log