From 54f41af478e8e5a51a0cd17c8caa36ed846e131e Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 11 Apr 2019 14:27:12 +0000
Subject: runit-scripts: service: add MYTH_RUN_STATUS to some services

---
 abs/core/runit-scripts/PKGBUILD                                  | 2 +-
 abs/core/runit-scripts/runitscripts/services/alsa-utils/run      | 1 +
 abs/core/runit-scripts/runitscripts/services/apcupsd/run         | 2 +-
 abs/core/runit-scripts/runitscripts/services/autofs/run          | 2 +-
 abs/core/runit-scripts/runitscripts/services/certmaster/run      | 1 +
 abs/core/runit-scripts/runitscripts/services/irexec/run          | 2 +-
 abs/core/runit-scripts/runitscripts/services/mysql/run           | 1 +
 abs/core/runit-scripts/runitscripts/services/plexmediaserver/run | 1 +
 8 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 05961db..215e019 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=runit-scripts
 pkgver=8.6
-pkgrel=3
+pkgrel=4
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license=('BSD')
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
-- 
cgit v0.12

