snippetbashTip
rc-update — Add and remove OpenRC services to and from runlevels. See also: `openrc`. More information: <https:/
Viewed 0 times
rc-updatecommandremoveservicesandcliaddopenrc
linux
Problem
How to use the
rc-update command: Add and remove OpenRC services to and from runlevels. See also: openrc. More information: <https://manned.org/rc-update>.Solution
rc-update — Add and remove OpenRC services to and from runlevels. See also: openrc. More information: <https://manned.org/rc-update>.List enabled services and the runlevels they are added to:
rc-updateList all services:
rc-update {{[-v|--verbose]}}Add a service to a runlevel:
sudo rc-update add {{service_name}} {{runlevel}}Delete a service from a runlevel:
sudo rc-update {{[del|delete]}} {{service_name}} {{runlevel}}Delete a service from all runlevels:
sudo rc-update {{[-a|--all]}} {{[del|delete]}} {{service_name}}Code Snippets
List enabled services and the runlevels they are added to
rc-updateList all services
rc-update {{[-v|--verbose]}}Add a service to a runlevel
sudo rc-update add {{service_name}} {{runlevel}}Delete a service from a runlevel
sudo rc-update {{[del|delete]}} {{service_name}} {{runlevel}}Delete a service from all runlevels
sudo rc-update {{[-a|--all]}} {{[del|delete]}} {{service_name}}Context
tldr-pages: linux/rc-update
Revisions (0)
No revisions yet.