diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-04-11 14:27:12 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-04-11 14:27:12 (GMT) |
commit | 54f41af478e8e5a51a0cd17c8caa36ed846e131e (patch) | |
tree | 1a82c7f41b970aa6f39138f5be009ed12fbb5f93 /abs/core/runit-scripts/runitscripts | |
parent | 08d85eb45091745f5a5b1fe6bac9ec181f5b1c9b (diff) | |
download | linhes_pkgbuild-54f41af478e8e5a51a0cd17c8caa36ed846e131e.zip linhes_pkgbuild-54f41af478e8e5a51a0cd17c8caa36ed846e131e.tar.gz linhes_pkgbuild-54f41af478e8e5a51a0cd17c8caa36ed846e131e.tar.bz2 |
runit-scripts: service: add MYTH_RUN_STATUS to some services
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
7 files changed, 7 insertions, 3 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/alsa-utils/run b/abs/core/runit-scripts/runitscripts/services/alsa-utils/run index a376059..a15a911 100755 --- a/abs/core/runit-scripts/runitscripts/services/alsa-utils/run +++ b/abs/core/runit-scripts/runitscripts/services/alsa-utils/run @@ -1,4 +1,5 @@ #!/bin/sh +MYTH_RUN_STATUS="1" set -e /usr/bin/alsactl restore exec chpst -b alsa pause diff --git a/abs/core/runit-scripts/runitscripts/services/apcupsd/run b/abs/core/runit-scripts/runitscripts/services/apcupsd/run index 70bd9e0..7d9034e 100755 --- a/abs/core/runit-scripts/runitscripts/services/apcupsd/run +++ b/abs/core/runit-scripts/runitscripts/services/apcupsd/run @@ -1,6 +1,6 @@ #!/bin/sh exec 2>&1 - +MYTH_RUN_STATUS="1" . /etc/rc.conf . /etc/rc.d/functions diff --git a/abs/core/runit-scripts/runitscripts/services/autofs/run b/abs/core/runit-scripts/runitscripts/services/autofs/run index c0800a2..941d59c 100755 --- a/abs/core/runit-scripts/runitscripts/services/autofs/run +++ b/abs/core/runit-scripts/runitscripts/services/autofs/run @@ -1,6 +1,6 @@ #!/bin/sh exec 2>&1 - +MYTH_RUN_STATUS="1" . /etc/rc.conf . /etc/rc.d/functions diff --git a/abs/core/runit-scripts/runitscripts/services/certmaster/run b/abs/core/runit-scripts/runitscripts/services/certmaster/run index 0f5add7..f3ac054 100644 --- a/abs/core/runit-scripts/runitscripts/services/certmaster/run +++ b/abs/core/runit-scripts/runitscripts/services/certmaster/run @@ -1,4 +1,5 @@ #!/bin/bash +MYTH_RUN_STATUS="1" if [ ! -e /etc/pki/certmaster/ca/certmaster.key ] then /usr/bin/certmaster daemon diff --git a/abs/core/runit-scripts/runitscripts/services/irexec/run b/abs/core/runit-scripts/runitscripts/services/irexec/run index 01b775a..bd6f418 100644 --- a/abs/core/runit-scripts/runitscripts/services/irexec/run +++ b/abs/core/runit-scripts/runitscripts/services/irexec/run @@ -1,7 +1,7 @@ #!/bin/sh exec 2>&1 export TERM=linux - +MYTH_RUN_STATUS="1" . /etc/rc.conf . /etc/rc.d/functions . /etc/profile diff --git a/abs/core/runit-scripts/runitscripts/services/mysql/run b/abs/core/runit-scripts/runitscripts/services/mysql/run index 8fad493..51dc27f 100755 --- a/abs/core/runit-scripts/runitscripts/services/mysql/run +++ b/abs/core/runit-scripts/runitscripts/services/mysql/run @@ -1,6 +1,7 @@ #!/bin/bash exec 2>&1 export TERM=linux +MYTH_RUN_STATUS="1" . /etc/rc.conf . /etc/rc.d/functions stat_runit "Starting Mysql" diff --git a/abs/core/runit-scripts/runitscripts/services/plexmediaserver/run b/abs/core/runit-scripts/runitscripts/services/plexmediaserver/run index 8210c01..a6e521a 100755 --- a/abs/core/runit-scripts/runitscripts/services/plexmediaserver/run +++ b/abs/core/runit-scripts/runitscripts/services/plexmediaserver/run @@ -1,6 +1,7 @@ #!/bin/sh exec 2>&1 export TERM=linux +MYTH_RUN_STATUS="1" . /etc/rc.conf . /etc/rc.d/functions . /etc/conf.d/plexmediaserver |