Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions man/openrc-run.8
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,17 @@ String describing the service.
.It Ar description_$command
String describing the extra command.
.It Ar supervisor
Supervisor to use to monitor this daemon. If this is unset or invalid,
start-stop-daemon will be used.
Currently, we support s6 from skarnet software, and supervise-daemon
which is a light-weight supervisor internal to OpenRC.
To use s6, set
supervisor=s6.
or set
supervisor=supervise-daemon
to use supervise-daemon.
Supervisor to use to monitor this daemon. This defaults to start-stop-daemon for historical reasons.
Currently, we support supervise-daemon which is light-weight supervisor internal to OpenRC and
is the recommended option; s6 from skarnet software; and start-stop-daemon which doesn't provide any process supervision.
To use supervise-daemon, set
supervisor=supervise-daemon,
set
supervisor=s6
to use s6,
or
supervisor=start-stop-daemon
to use start-stop-daemon.
.It Ar s6_service_path
The path to the s6 service directory if you are monitoring this service
with S6. The default is /var/svc.d/${RC_SVCNAME}.
Expand Down
3 changes: 3 additions & 0 deletions sh/openrc-run.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ default_start()
{
local func=ssd_start
case "$supervisor" in
start-stop-daemon) ;;
runit) func=runit_start ;;
s6) func=s6_start ;;
supervise-daemon) func=supervise_start ;;
Expand All @@ -179,6 +180,7 @@ default_stop()
{
local func=ssd_stop
case "$supervisor" in
start-stop-daemon) ;;
runit) func=runit_stop ;;
s6) func=s6_stop ;;
supervise-daemon) func=supervise_stop ;;
Expand All @@ -193,6 +195,7 @@ default_status()
{
local func=ssd_status
case "$supervisor" in
start-stop-daemon) ;;
runit) func=runit_status ;;
s6) func=s6_status ;;
supervise-daemon) func=supervise_status ;;
Expand Down
Loading