aboutsummaryrefslogtreecommitdiff
path: root/man/runscript.8
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-01-17 18:23:56 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-01-17 18:25:44 +0100
commit9c0edc5c527de01cbe2dccbc7f1a2c571b6acc41 (patch)
tree0bfe4211a3b217d3cf4372cc984835f2c191635c /man/runscript.8
parentd729f9d0f2d773c3cddc2f3004364d831081f692 (diff)
Use the "--make-pidfile" when command_background is used
The start-stop-daemon "--make-pidfile" option is now used by default when using command_background, this requires a pidfile to be specified. Document command_background option. Reported-by: Giampaolo Tomassoni <giampaolo@tomassoni.biz> X-Gentoo-Bug: 399165 X-Gentoo-Bug-URL: https://bugs.gentoo.org/399165
Diffstat (limited to 'man/runscript.8')
-rw-r--r--man/runscript.85
1 files changed, 5 insertions, 0 deletions
diff --git a/man/runscript.8 b/man/runscript.8
index dbc0b7dc..dd934c4b 100644
--- a/man/runscript.8
+++ b/man/runscript.8
@@ -111,6 +111,11 @@ Daemon to start or stop via
if no start or stop function is defined by the service.
.It Ar command_args
List of arguments to pass to the daemon when starting.
+.It Ar command_background
+Set this to "true", "yes" or "1" (case-insensitive) to force the daemon into
+the background. This implies the "--make-pidfile" and "--pidfile" option of
+.Xr start-stop-daemon 8
+so the pidfile variable must be set.
.It Ar pidfile
Pidfile to use for the above defined command.
.It Ar name