summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit-scripts')
-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"