|
|
@@ -1,4 +1,4 @@
|
|
|
-.TH start\-stop\-daemon 8 "2011-03-04" "Debian Project" "dpkg utilities"
|
|
|
+.TH start\-stop\-daemon 8 "2011-04-28" "Debian Project" "dpkg utilities"
|
|
|
.SH NAME
|
|
|
start\-stop\-daemon \- start and stop system daemon programs
|
|
|
.
|
|
|
@@ -254,21 +254,31 @@ option.
|
|
|
Print verbose informational messages.
|
|
|
.
|
|
|
.SH EXIT STATUS
|
|
|
-.B start\-stop\-daemon
|
|
|
-returns 0 if the requested action was performed, or if
|
|
|
+.TP
|
|
|
+.B 0
|
|
|
+The requested action was performed, or if
|
|
|
.B \-\-oknodo
|
|
|
is specified and either
|
|
|
.B \-\-start
|
|
|
was specified and a matching process was already running, or
|
|
|
.B \-\-stop
|
|
|
-was specified and there were no matching processes. If
|
|
|
+was specified and there were no matching processes.
|
|
|
+.TP
|
|
|
+.B 1
|
|
|
+If
|
|
|
.B \-\-oknodo
|
|
|
-was not specified and nothing was done, 1 is returned. If
|
|
|
+was not specified and nothing was done.
|
|
|
+.TP
|
|
|
+.B 2
|
|
|
+If
|
|
|
.B \-\-stop
|
|
|
and
|
|
|
.B \-\-retry
|
|
|
were specified, but the end of the schedule was reached and the processes were
|
|
|
-still running, the error value is 2. For all other errors, the status is 3.
|
|
|
+still running.
|
|
|
+.TP
|
|
|
+.B 3
|
|
|
+Any other error.
|
|
|
.
|
|
|
.SH EXAMPLE
|
|
|
Start the \fBfood\fP daemon, unless one is already running (a process named
|