commit:     820ef6dab674c2878d72edc8ea21e7250b1b5aec
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue May 24 17:55:50 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue May 24 17:55:50 2016 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=820ef6da

supervise-daemon: clarify documentation about configuring daemon not to fork

 supervise-daemon-guide.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/supervise-daemon-guide.md b/supervise-daemon-guide.md
index 7dae0e6..4ac7365 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
 

Reply via email to