diff options
Diffstat (limited to 'sh/openrc-run.sh.in')
-rw-r--r-- | sh/openrc-run.sh.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/openrc-run.sh.in b/sh/openrc-run.sh.in index 67e47b75..33dc59c5 100644 --- a/sh/openrc-run.sh.in +++ b/sh/openrc-run.sh.in @@ -132,6 +132,7 @@ start() { local func=ssd_start case "$supervisor" in + s6) func=s6_start ;; ?*) ewarn "Invalid supervisor, \"$supervisor\", using start-stop-daemon" ;; @@ -143,6 +144,7 @@ stop() { local func=ssd_stop case "$supervisor" in + s6) func=s6_stop ;; ?*) ewarn "Invalid supervisor, \"$supervisor\", using start-stop-daemon" ;; @@ -154,6 +156,7 @@ status() { local func=ssd_status case "$supervisor" in + s6) func=s6_status ;; ?*) ewarn "Invalid supervisor, \"$supervisor\", using start-stop-daemon" ;; @@ -183,6 +186,7 @@ unset _conf_d sourcex -e "@SYSCONFDIR@/rc.conf" # load service supervisor functions +sourcex "@LIBEXECDIR@/sh/s6.sh" sourcex "@LIBEXECDIR@/sh/start-stop-daemon.sh" # Set verbose mode |