OS Manuals

/usr/bin/start-stop-daemon

OpenRC is a dependency-based init system that works with the system provided init program.

From openrc 0.64.1-r4 (os), captured 2026-11-05 by running start-stop-daemon --help (exit 0). permalink

Usage: start-stop-daemon [options]

Options: [ I:KN:PR:Sa:bc:d:e:Gg:ik:mn:op:s:tu:r:w:x:0:1:2:3:4:ChqVvU ]
      --capabilities <arg>          Set the inheritable, ambient and bounding capabilities
      --secbits <arg>               Set the security-bits for the program
      --no-new-privs                Set the No New Privs flag for the program
  -I, --ionice <arg>                Set an ionice class:data when starting
  -K, --stop                        Stop daemon
  -N, --nicelevel <arg>             Set a nicelevel when starting
      --oom-score-adj <arg>         Set OOM score adjustment when starting
  -R, --retry <arg>                 Retry schedule to use when stopping
  -S, --start                       Start daemon
  -a, --startas <arg>               deprecated, use --exec or --name
  -b, --background                  Force daemon to background
  -c, --chuid <arg>                 deprecated, use --user
  -d, --chdir <arg>                 Change the PWD
  -e, --env <arg>                   Set an environment string
  -k, --umask <arg>                 Set the umask for the daemon
  -g, --group <arg>                 Change the process group
  -G, --stop-group                  Stop the whole process group
  -i, --interpreted                 Match process name by interpreter
  -m, --make-pidfile                Create a pidfile
  -n, --name <arg>                  Match process name
  -o, --oknodo                      deprecated
  -p, --pidfile <arg>               Match pid found in this file
  -s, --signal <arg>                Send a different signal
  -t, --test                        Test actions, don't do them
  -u, --user <arg>                  Change the process user
  -r, --chroot <arg>                Chroot to this directory
  -w, --wait <arg>                  Milliseconds to wait for daemon start
  -x, --exec <arg>                  Binary to start/stop
  -0, --stdin <arg>                 Redirect stdin to file
  -1, --stdout <arg>                Redirect stdout to file
  -2, --stderr <arg>                Redirect stderr to file
  -3, --stdout-logger <arg>         Redirect stdout to process
  -4, --stderr-logger <arg>         Redirect stderr to process
  -P, --progress                    Print dots each second while waiting
      --scheduler <arg>             Set process scheduler
      --scheduler-priority <arg>    Set process scheduler priority
      --notify <arg>                Configures experimental notification behaviour
  -h, --help                        Display this help output
  -C, --nocolor                     Disable color output
  -V, --version                     Display software version
  -v, --verbose                     Run verbosely
  -q, --quiet                       Run quietly (repeat to suppress errors)
  -U, --user                        Run in user mode
Options (42)
OptionDescriptionSource
--capabilities argStart the daemon with the listed inheritable, ambient and bounding capabilities.help + man
--secbits argSet the security-bits for the program.help + man
--no-new-privsSet the No New Privs flag for the program.help + man
-I, --ionice argModifies the IO scheduling priority of the daemon.help + man
-K, --stopStop daemonhelp
-N, --nicelevel argModifies the scheduling priority of the daemon.help + man
--oom-score-adj argModifies the OOM score adjustment of the daemon.help + man
-R, --retry argThe retry specification can be either a timeout in seconds or multiple signal/timeout pairs (like SIGTERM/5).help + man
-S, --startStart daemonhelp
-a, --startas argChange the process name of the daemon to name.help + man
-b, --backgroundForce the daemon into the background.help + man
-c, --chuid argSame as the -u, --user option.help + man
-d, --chdir argchdir to this directory before starting the daemon.help + man
-e, --env argSet the environment variable VAR to VALUE.help + man
-k, --umask argSet the umask for the daemonhelp + man
-g, --group argStart the daemon as in the group.help + man
-G, --stop-groupStop the whole process grouphelp
-i, --interpretedWhen matching process name, we should ensure that the correct interpreter is also matched.help + man
-m, --make-pidfileSaves the pid of the daemon in the file specified by the -p, --pidfile option.help + man
-n, --name argMatch the process name instead of a pidfile or executable.help + man
-o, --oknododeprecatedhelp
-p, --pidfile argWhen starting, we expect the daemon to create a valid pidfile within a reasonable amount of time.help + man
-s, --signal argSend a different signalhelp
-t, --testPrint the action(s) that would be taken, but don't actually do anything.help + man
-u, --user argStart the daemon as the user and update $HOME accordingly or stop daemons owned by the user.help + man
-r, --chroot argchroot to this directory before starting the daemon.help + man
-w, --wait argWait milliseconds after starting and check that daemon is still running.help + man
-x, --exec argThe daemon we start or stop.help + man
-0, --stdin argRedirect the standard input of the process to file when started with -background.help + man
-1, --stdout argRedirect the standard output of the process to logfile when started with -background.help + man
-2, --stderr argRedirect the standard error of the process to logfile when started with -background.help + man
-3, --stdout-logger argRun cmd as a child process redirecting the standard output to the standard input of cmd when started with -background.help + man
-4, --stderr-logger argRun cmd as a child process and Redirect the standard error of the process to the standard input of cmd when started with -background.help + man
-P, --progressPrint dots each second while waitinghelp + man
--scheduler argSets the scheduling policy of the daemon.help + man
--scheduler-priority argSets the priority parameter of the scheduling policy of the daemon.help + man
--notify argOpen file descriptor num as a pipe, and waits until the daemon writes a newline to it before exiting.help + man
-h, --helpDisplay this help outputhelp
-C, --nocolorDisable color outputhelp
-V, --versionDisplay software versionhelp
-v, --verbosePrint the action(s) that are taken just before doing them.help + man
-q, --quietRun quietly (repeat to suppress errors).help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.