mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 10:32:11 +03:00
a0d7c46e80
* 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>
430 B
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}}