Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:system:init_systems:openrc [2022/10/24 15:23] throgh [OpenRC] |
en:system:init_systems:openrc [2022/10/24 18:43] throgh [Runlevels] |
||
---|---|---|---|
Line 71: | Line 71: | ||
</ | </ | ||
===== Runlevels ===== | ===== Runlevels ===== | ||
- | OpenRC, as well as sysvinit and init (BSD), has a concept of task execution levels (Runlevels), | + | OpenRC, as well as sysvinit and init (BSD), has a concept of task execution levels (Runlevels), |
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | + | The <color # |
+ | <code bash> | ||
+ | # rc-status | ||
+ | * Caching service dependencies ... [ ok ] | ||
+ | Runlevel: default | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | All runlevels are represented as folders in <color # | ||
+ | |||
+ | Calling openrc with an argument (<color # | ||
+ | |||
+ | Managing runlevels is usually done through the <color # | ||
+ | <color # | ||
- | !?(WIP)!?!? | + | <note important> |
+ | The default startup uses the runlevels <color # | ||
====== OpenRC ====== | ====== OpenRC ====== | ||
Line 140: | Line 155: | ||
===== Migration ===== | ===== Migration ===== | ||
- | Since OpenRC is included by default and systemd is blacklisted by [[https:// | + | <note important> |
- | + | ||
- | <code bash> | + | |
- | run ' | + | |
- | run ' | + | |
- | </ | + | |
- | + | ||
- | Running these command(s) adds the service(s) to the specified runlevels. For example on running: | + | |
- | + | ||
- | <code bash> | + | |
- | # rc-update add cronie default | + | |
- | </ | + | |
- | + | ||
- | The cronie service would be added to the default runlevel and would automatically be started at boot. | + | |
- | + | ||
- | cronie (for cron) and haveged (for entropy harvesting) are some common services that can be enabled. | + | |
- | + | ||
- | Also you need to install [[https:// | + | |
- | + | ||
- | <code bash> | + | |
- | # pacman -S polkit | + | |
- | </ | + | |
- | + | ||
- | <note important> | + | |
- | + | ||
- | <note important> | + | |
===== Configuration ===== | ===== Configuration ===== |