rc-service

Locate and run OpenRC services with arguments.

TLDR

Show a service's status

>_ rc-service [service_name] status
copy

Start a service

>_ sudo rc-service [service_name] start
copy

Stop a service

>_ sudo rc-servie [service_name] stop
copy

Restart a service

>_ sudo rc-service [service_name] restart
copy

Simulate running a service's custom command

>_ sudo rc-service --dry-run [service_name] [command_name]
copy

Actually run a service's custom command

>_ sudo rc-service [service_name] [command_name]
copy

Resolve the location of a service definition on disk

>_ sudo rc-service --resolve [service_name]
copy

Copied to clipboard
free 100$ digital ocean credit