rc-service
Locate and run an OpenRC service with the given arguments
Long Options
set xtrace when running the command
tests if the service exists or not
if the service is crashed run the command
if the service exists run the command
if the service is inactive run the command
if the service is not started run the command
rc-service --ifnotstarted
if the service is started run the command
if the service is stopped run the command
list all available services
resolve the service name to an init script
dry run (show what would happen)
Run quietly (repeat to suppress errors)
Short Options
set xtrace when running the command
tests if the service exists or not
if the service is crashed run the command
if the service exists run the command
if the service is inactive run the command
if the service is not started run the command
if the service is started run the command
if the service is stopped run the command
list all available services
resolve the service name to an init script
dry run (show what would happen)
Run quietly (repeat to suppress errors)