1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/rc-update.md
2025-03-31 02:28:00 +02:00

25 lines
564 B
Markdown

# 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}}`