tldr/pages/linux/rc-update.md
Starbeamrainbowlabs a0d7c46e80 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>
2020-01-27 14:13:47 +01:00

430 B

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}}