4 "[OPTIONS] [-S|-K] ... [-- arguments...]"
5 #define start_stop_daemon_full_usage "\n\n" \
6 "Search for matching processes, and then\n" \
7 - "-S: stop all matching processes.\n" \
8 - "-K: start a process unless a matching process is found.\n" \
9 + "-S: start a process unless a matching process is found.\n" \
10 + "-K: stop all matching processes.\n" \
12 "\nProcess matching:" \
13 "\n -u,--user USERNAME|UID Match only this user's processes" \
15 "\n in /proc/PID/cmdline" \
16 "\n -p,--pidfile FILE Match a process with PID from the file" \
17 "\n All specified conditions must match" \
20 "\n -x,--exec EXECUTABLE Program to run" \
21 "\n -a,--startas NAME Zeroth argument" \
22 "\n -b,--background Background" \
25 "\n -c,--chuid USER[:[GRP]] Change to user/group" \
26 "\n -m,--make-pidfile Write PID to the pidfile specified by -p" \
29 "\n -s,--signal SIG Signal to send" \
30 "\n -t,--test Match only, exit with 0 if a process is found" \
33 "\n command in /proc/PID/cmdline" \
34 "\n -p FILE Match a process with PID from the file" \
35 "\n All specified conditions must match" \
38 "\n -x EXECUTABLE Program to run" \
39 "\n -a NAME Zeroth argument" \
43 "\n -c USER[:[GRP]] Change to user/group" \
44 "\n -m Write PID to the pidfile specified by -p" \
47 "\n -s SIG Signal to send" \
48 "\n -t Match only, exit with 0 if a process is found" \