summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-13 09:21:16 +0000
committerRoy Marples <roy@marples.name>2007-04-13 09:21:16 +0000
commita07be0513af5181f3e2a57f9e313f4a08740c3f4 (patch)
treefd1b5556d00dad01b1a75846451164d4f0dee6ef /man
parent824e9577e76df03c2572853d6ac15b10a27c9ace (diff)
downloadopenrc-a07be0513af5181f3e2a57f9e313f4a08740c3f4.tar.gz
openrc-a07be0513af5181f3e2a57f9e313f4a08740c3f4.tar.bz2
openrc-a07be0513af5181f3e2a57f9e313f4a08740c3f4.tar.xz
s-s-d now allows --signal to be used without --stop and --oknodo. man page updated accordingly
Diffstat (limited to 'man')
-rw-r--r--man/start-stop-daemon.828
1 files changed, 26 insertions, 2 deletions
diff --git a/man/start-stop-daemon.8 b/man/start-stop-daemon.8
index 5ec29f2..0120395 100644
--- a/man/start-stop-daemon.8
+++ b/man/start-stop-daemon.8
@@ -1,4 +1,4 @@
-.TH "BASELAYOUT" "8" "March 2007" "baselayout" "baselayout"
+.TH "BASELAYOUT" "13" "April 2007" "baselayout" "baselayout"
.SH NAME
start\-stop\-daemon \- start and stop system daemon programs
.SH SYNOPSIS
@@ -13,6 +13,10 @@ start\-stop\-daemon \- start and stop system daemon programs
.IR options
.HP
.B start-stop-daemon
+.BR -s | --signal
+.IR options
+.HP
+.B start-stop-daemon
.BR -H | --help
.HP
.B start-stop-daemon
@@ -62,7 +66,26 @@ exits with error status 1. If
is specified then we just send the signal and not the schedule. If
.BR --oknodo
is specified then we don't remove the daemon information from
-.BR rc.
+.BR rc. If neither
+.BR --test
+or
+.BR --okndo
+are specified then we kill signalling and waiting according to our
+schedule specified by
+.BR --retry
+until we timeout the process(es) exited. If we didn't timeout then
+we remove our daemon information from rc.
+
+With
+.BR --signal ,
+.B start\-stop\-daemon
+also checks for the existence of a specified process.
+If such a process exists,
+.B start\-stop\-daemon
+sends it the signal specified and exits with error status 0.
+If such a process does not exist, or there was an error stopping it
+.B start\-stop\-daemon
+exits with error status 1. No futher action is taken
.SH OPTIONS
@@ -142,6 +165,7 @@ but take no action.
.TP
.BR -o | --oknodo
Used for sending signals to a running daemon but not expecting it to stop.
+In this version you can don't need --oknodo if you don't use --stop either.
.TP
.BR -q | --quiet
Do not print informational messages; only display error messages.