RC-UPDATE(8)
π RC-UPDATE(8) π
okay bestie, this is RC-UPDATE(8) from the System Manager's Manual, and it's here to help you add and remove services to and from runlevels without touching some obscure file or managing a directory of symlinks. β¨
β¨ NAME β¨
rc-update β add and remove services to and from a runlevel π
πΈ SYNOPSIS πΈ
rc-update [-s, --stack] add service [runlevel ...]
rc-update [-s, --stack] [-a, --all] delete service [runlevel ...]
rc-update [-u, --update] [-v, --verbose] show [runlevel ...]
π DESCRIPTION π
OpenRC uses named runlevels. Instead of editing some obscure file or managing a directory of symlinks, rc-update exists to quickly add or delete services to and from different runlevels. All services must reside in the /etc/init.d or /usr/local/etc/init.d directories. They must also be standard OpenRC scripts, meaning they must use openrc-run.
add serviceβ Add the service to the runlevel or the current one if none given. Services added to thebootrunlevel must exist in/etc/init.d.delete serviceβ Delete the service from the runlevel or the current one if none given.showβ Show all enabled services and the runlevels they belong to. If you specify runlevels to show, then only those will be included in the output.-v,--verboseβ Show all services.-u,--updateβ Forces an update of the dependency tree cache. This may be needed in the event of clock skew (a file in/etcis newer than the system clock).
If the -s, --stack option is given then we either add or remove the runlevel from the runlevel. This allows inheritance of runlevels. π«Ά
If the -a, --all option is given, we remove the service from all runlevels. This is useful, for example, to clean up the dangling symlinks after a service is removed. π
bestie note: keep those paths and that openrc-run requirement in mind β standard OpenRC scripts only, no cap. π
π SEE ALSO π
openrc(8), openrc-run(8), rc-status(8) π
π AUTHORS π
Roy Marples <roy@marples.name>The OpenRC Team <openrc@gentoo.org>
π okay that's the whole page β big mwah from OpenRC, dated Jan 13, 2014. slay and bye π
π¦ where this page comes from
- alpine 3.23: openrc-doc 0.63-r1 Β· BSD-2-Clause
- alpine 3.24: openrc-doc 0.63.2-r0 Β· BSD-2-Clause
- Copyright (c) 2007-2015 The OpenRC Authors
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms