diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-20 18:24:14 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-20 18:24:14 +0000 |
| commit | b67004b2ae9ff6d5b31e3907465e35b8a7596dbe (patch) | |
| tree | 49fd438e90ce05ddea36c8a275a915c47d697971 /debianutils | |
| parent | dd9c072846f03f703909d0d39e4072a2419db971 (diff) | |
| download | busybox-w32-b67004b2ae9ff6d5b31e3907465e35b8a7596dbe.tar.gz busybox-w32-b67004b2ae9ff6d5b31e3907465e35b8a7596dbe.tar.bz2 busybox-w32-b67004b2ae9ff6d5b31e3907465e35b8a7596dbe.zip | |
ssd: fix comment
Diffstat (limited to 'debianutils')
| -rw-r--r-- | debianutils/start_stop_daemon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 8d73bdc80..6d7e61b42 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c | |||
| @@ -19,9 +19,10 @@ One (only) of these must be given: | |||
| 19 | 19 | ||
| 20 | Search for matching processes. | 20 | Search for matching processes. |
| 21 | If --stop is given, stop all matching processes (by sending a signal). | 21 | If --stop is given, stop all matching processes (by sending a signal). |
| 22 | If --start if given, start a new process unless a matching process was found. | 22 | If --start is given, start a new process unless a matching process was found. |
| 23 | 23 | ||
| 24 | Options controlling process matching: | 24 | Options controlling process matching |
| 25 | (if multiple conditions are specified, all must match): | ||
| 25 | -u,--user USERNAME|UID Only consider this user's processes | 26 | -u,--user USERNAME|UID Only consider this user's processes |
| 26 | -n,--name PROCESS_NAME Look for processes by matching PROCESS_NAME | 27 | -n,--name PROCESS_NAME Look for processes by matching PROCESS_NAME |
| 27 | with comm field in /proc/$PID/stat. | 28 | 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)] | |||
| 34 | Unlike -n, we match against the full path: | 35 | Unlike -n, we match against the full path: |
| 35 | "ntpd" != "./ntpd" != "/path/to/ntpd" | 36 | "ntpd" != "./ntpd" != "/path/to/ntpd" |
| 36 | -p,--pidfile PID_FILE Look for processes with PID from this file | 37 | -p,--pidfile PID_FILE Look for processes with PID from this file |
| 37 | If multiple conditions are specified, all must match. | ||
| 38 | 38 | ||
| 39 | Options which are valid for --start only: | 39 | Options which are valid for --start only: |
| 40 | -x,--exec EXECUTABLE Program to run (1st arg of execvp). Mandatory. | 40 | -x,--exec EXECUTABLE Program to run (1st arg of execvp). Mandatory. |
