1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/linux/rc-update.md
2022-01-27 09:29:12 -03:00

21 lines
482 B
Markdown

# rc-update
> Add and remove OpenRC services to and from runlevels.
> See also `openrc`.
> More information: <https://manned.org/rc-update>.
- List all services and the runlevels they are added to:
`rc-update show`
- Add a service to a runlevel:
`sudo rc-update add {{service_name}} {{runlevel}}`
- Delete a service from a runlevel:
`sudo rc-update delete {{service_name}} {{runlevel}}`
- Delete a service from all runlevels:
`sudo rc-update --all delete {{service_name}}`