[Buildroot] start-stop-daemon failing due to option -q
William Tambe
tambewilliam at gmail.com
Sun Jul 12 13:16:00 UTC 2020
I am seeing the following failure when start-stop-daemon is used
during services starting; the failure goes away when I remove from
start-stop-daemon the use of the option -q in the service scripts
under /etc/init.d/ .
Is this a known issue ?
Starting syslogd: start-stop-daemon: option requires an argument -- 'x'
BusyBox v1.31.1 (2020-05-25 11:34:54 CDT) multi-call binary.
Usage: start-stop-daemon [OPTIONS] [-S|-K] ... [-- ARGS...]
Search for matching processes, and then
-K: stop all matching processes
-S: start a process unless a matching process is found
Process matching:
-u USERNAME|UID Match only this user's processes
-n NAME Match processes with NAME
in comm field in /proc/PID/stat
-x EXECUTABLE Match processes with this command
in /proc/PID/cmdline
-p FILE Match a process with PID from FILE
All specified conditions must match
-S only:
-x EXECUTABLE Program to run
-a NAME Zeroth argument
-b Background
-N N Change nice level
-c USER[:[GRP]] Change user/group
-m Write PID to pidfile specified by -p
-K only:
-s SIG Signal to send
-t Match only, exit with 0 if found
Other:
-o Exit with status 0 if nothing is done
-v Verbose
-q Quiet
FAIL
More information about the buildroot
mailing list