aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2016-05-24 12:55:50 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-05-24 12:55:50 -0500
commit820ef6dab674c2878d72edc8ea21e7250b1b5aec (patch)
treeeacf663623119ef1b6a4a42dd46a089f9741bf15
parent87884db66767eba6317b506a4d7270dd22721831 (diff)
supervise-daemon: clarify documentation about configuring daemon not to fork
-rw-r--r--supervise-daemon-guide.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/supervise-daemon-guide.md b/supervise-daemon-guide.md
index 7dae0e65..4ac73653 100644
--- a/supervise-daemon-guide.md
+++ b/supervise-daemon-guide.md
@@ -4,6 +4,8 @@ Beginning with OpenRC-0.21 we have our own daemon supervisor,
supervise-daemon., which can start a daemon and restart it if it
terminates unexpectedly.
+The following is a brief guide on using this capability.
+
## Use Default start, stop and status functions
If you write your own start, stop and status functions in your service
@@ -16,8 +18,10 @@ Any deamon that you would like to have monitored by supervise-daemon
must not fork. Instead, it must stay in the foreground. If the daemon
itself forks, the supervisor will be unable to monitor it.
-If the daemon has an option to instruct it not to fork, you should add this
-to the command_args_foreground variable listed below.
+If the daemon can be configured to not fork, this should be done in the
+daemon's configuration file, or by adding a command line option that
+instructs it not to fork to the command_args_foreground variable shown
+below.
## Variable Settings