OS Manuals

/usr/bin/rc-service

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 rc-service --help (exit 0). permalink

Usage: rc-service [options] [-i] <service> <cmd>...
   or: rc-service [options] -e <service>
   or: rc-service [options] -l
   or: rc-service [options] -r <service>

Options: [ cdDe:ilr:INsSZChqVvU ]
  -d, --debug                       set xtrace when running the command
  -D, --nodeps                      ignore dependencies
  -e, --exists <arg>                tests if the service exists or not
  -c, --ifcrashed                   if the service is crashed run the command
  -i, --ifexists                    if the service exists run the command
  -I, --ifinactive                  if the service is inactive run the command
  -N, --ifnotstarted                if the service is not started run the command
  -s, --ifstarted                   if the service is started run the command
  -S, --ifstopped                   if the service is stopped run the command
  -l, --list                        list all available services
  -r, --resolve <arg>               resolve the service name to an init script
  -Z, --dry-run                     dry run (show what would happen)
  -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 (18)
OptionDescriptionSource
-d, --debug setsset xtrace when running the commandhelp + man
-D, --nodeps ignoresignore dependencieshelp + man
-e, --exists argtests if the service exists or nothelp + man
-c, --ifcrashedif the service is crashed run the commandhelp
-i, --ifexistsif the service exists run the commandhelp
-I, --ifinactiveif the service is inactive run the commandhelp
-N, --ifnotstartedif the service is not started run the commandhelp
-s, --ifstartedif the service is started run the commandhelp
-S, --ifstoppedif the service is stopped run the commandhelp
-l, --listlist all available serviceshelp
-r, --resolve argresolve the service name to an init scripthelp
-Z, --dry-run displaysdry run (show what would happen)help + man
-h, --helpDisplay this help outputhelp
-C, --nocolorDisable color outputhelp
-V, --versionDisplay software versionhelp
-v, --verboseRun verboselyhelp
-q, --quietRun quietly (repeat to suppress errors)help
-U, --userRun in user modehelp

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