summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-15 22:24:13 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-15 22:24:13 (GMT)
commit0ab912fc43d391ec766fb690a34bdd3699f51cd7 (patch)
tree05fd4135a44fb1bed824c3ec9bdeef3dc6b6171b /abs/core/runit-scripts/runitscripts
parent8a6f7fee33f59913f0d5c349b7b5fe404f5a471f (diff)
downloadlinhes_pkgbuild-0ab912fc43d391ec766fb690a34bdd3699f51cd7.zip
linhes_pkgbuild-0ab912fc43d391ec766fb690a34bdd3699f51cd7.tar.gz
linhes_pkgbuild-0ab912fc43d391ec766fb690a34bdd3699f51cd7.tar.bz2
runit-scripts: add supplemental-slave run file
refs #881
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/supplemental-slave/run11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/supplemental-slave/run b/abs/core/runit-scripts/runitscripts/services/supplemental-slave/run
new file mode 100755
index 0000000..5be390d
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/supplemental-slave/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+#set -x
+exec 2>&1
+export TERM=linux
+MYTH_RUN_STATUS="1"
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/profile
+stat_runit "Starting supplemental web client"
+cd /data/srv/httpd/cgi
+exec sudo -u http "./slaveserve.py" 2>/var/log/supplemental-slave.log