openrc, rc-status, rc-service, rc-update: add pages (#3800)
* rc-status: add page * openrc: add page * rc-service: add page * rc-update: add page * rc-status: add list all runlevels example * openrc: fix travis errors * rc-status: fix travis errors again * Update pages/linux/rc-update.md Co-Authored-By: Zlatan Vasović <zlatanvasovic@gmail.com> * Update pages/linux/rc-status.md Co-Authored-By: Zlatan Vasović <zlatanvasovic@gmail.com> Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
This commit is contained in:

committed by
Zlatan Vasović

parent
ac0e7625a2
commit
a0d7c46e80
20
pages/linux/rc-update.md
Normal file
20
pages/linux/rc-update.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# rc-update
|
||||
|
||||
> Add and remove OpenRC services to and from runlevels.
|
||||
> See also `openrc`.
|
||||
|
||||
- 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