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

26 lines
564 B
Markdown
Raw Normal View History

# rc-update
> Add and remove OpenRC services to and from runlevels.
> See also `openrc`.
> More information: <https://manned.org/rc-update>.
2025-03-31 00:28:00 +00:00
- List enabled services and the runlevels they are added to:
2025-03-31 00:28:00 +00:00
`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:
2025-03-31 00:28:00 +00:00
`sudo rc-update {{[del|delete]}} {{service_name}} {{runlevel}}`
- Delete a service from all runlevels:
2025-03-31 00:28:00 +00:00
`sudo rc-update {{[-a|--all]}} {{[del|delete]}} {{service_name}}`