summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-06 19:25:11 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-06 19:25:11 (GMT)
commit89381a83e4a0c7abf27bf69fd4048750af151671 (patch)
tree14838ff6b40cad458cf2d04d82f71e4c4ad657ee /abs/core
parent485ea73d269e2f5b7deacdac4d845ee871c22ac5 (diff)
downloadlinhes_pkgbuild-89381a83e4a0c7abf27bf69fd4048750af151671.zip
linhes_pkgbuild-89381a83e4a0c7abf27bf69fd4048750af151671.tar.gz
linhes_pkgbuild-89381a83e4a0c7abf27bf69fd4048750af151671.tar.bz2
runit-scripts: add avahi to mythbackend, mythexpress, remyth
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythbackend/run1
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mythexpress/run1
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/remyth/run2
4 files changed, 5 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 1d4d3ed..43f5150 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=2.1.1
-pkgrel=84
+pkgrel=85
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
index 152beb4..9ac0c6b 100755
--- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run
+++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run
@@ -6,6 +6,7 @@ export TERM=linux
. /etc/rc.d/functions
#wait for mysql
/sbin/svwaitup -s 10 /service/mysql
+/sbin/svwaitup -s 2 /service/avahi
#profile is here to setup LC_ALL/locale
MYTH_RUN_STATUS="1"
diff --git a/abs/core/runit-scripts/runitscripts/services/mythexpress/run b/abs/core/runit-scripts/runitscripts/services/mythexpress/run
index 3e58490..d902721 100755
--- a/abs/core/runit-scripts/runitscripts/services/mythexpress/run
+++ b/abs/core/runit-scripts/runitscripts/services/mythexpress/run
@@ -3,6 +3,7 @@ exec 2>&1
export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
+/sbin/svwaitup -s 10 /service/avahi
stat_runit "Starting MythExpress"
su http -s/bin/bash -c "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 9d6975c..599a8aa 100755
--- a/abs/core/runit-scripts/runitscripts/services/remyth/run
+++ b/abs/core/runit-scripts/runitscripts/services/remyth/run
@@ -3,6 +3,8 @@ exec 2>&1
export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
+/sbin/svwaitup -s 10 /service/avahi
+
stat_runit "Starting ReMyth"
su http -s/bin/bash -c "node /usr/remyth/server.js"