mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 14:49:57 +00:00
Update cheatsheets
This commit is contained in:
26
linux/rc-update
Normal file
26
linux/rc-update
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user