summaryrefslogtreecommitdiff
path: root/debianutils/start_stop_daemon.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-20 18:24:14 +0000
committerDenis Vlasenko2008-06-20 18:24:14 +0000
commitb67004b2ae9ff6d5b31e3907465e35b8a7596dbe (patch)
tree49fd438e90ce05ddea36c8a275a915c47d697971 /debianutils/start_stop_daemon.c
parentdd9c072846f03f703909d0d39e4072a2419db971 (diff)
downloadbusybox-b67004b2ae9ff6d5b31e3907465e35b8a7596dbe.zip
busybox-b67004b2ae9ff6d5b31e3907465e35b8a7596dbe.tar.gz
ssd: fix comment
Diffstat (limited to 'debianutils/start_stop_daemon.c')
-rw-r--r--debianutils/start_stop_daemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c
index 8d73bdc..6d7e61b 100644
--- a/debianutils/start_stop_daemon.c
+++ b/debianutils/start_stop_daemon.c
@@ -19,9 +19,10 @@ One (only) of these must be given:
Search for matching processes.
If --stop is given, stop all matching processes (by sending a signal).
-If --start if given, start a new process unless a matching process was found.
+If --start is given, start a new process unless a matching process was found.
-Options controlling process matching:
+Options controlling process matching
+(if multiple conditions are specified, all must match):
-u,--user USERNAME|UID Only consider this user's processes
-n,--name PROCESS_NAME Look for processes by matching PROCESS_NAME
with comm field in /proc/$PID/stat.
@@ -34,7 +35,6 @@ with /proc/$PID/exe or argv[0] (comm can't be matched, it never contains path)]
Unlike -n, we match against the full path:
"ntpd" != "./ntpd" != "/path/to/ntpd"
-p,--pidfile PID_FILE Look for processes with PID from this file
-If multiple conditions are specified, all must match.
Options which are valid for --start only:
-x,--exec EXECUTABLE Program to run (1st arg of execvp). Mandatory.