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:
Starbeamrainbowlabs
2020-01-27 13:13:47 +00:00
committed by Zlatan Vasović
parent ac0e7625a2
commit a0d7c46e80
4 changed files with 97 additions and 0 deletions

20
pages/linux/rc-update.md Normal file
View 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}}`