HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

rc-update — Add and remove OpenRC services to and from runlevels. See also: `openrc`. More information: <https:/

Submitted by: @import:tldr-pages··
0
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-update


List 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-update

List 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.