summaryrefslogtreecommitdiffstats
path: root/abs
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
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')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/frontend/run4
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/vnc/run4
3 files changed, 5 insertions, 5 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index d257ffe..151eb90 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=8.3
-pkgrel=9
+pkgrel=10
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
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