Initial things added for runit user services

This commit is contained in:
Tastatur 2024-01-20 16:33:23 +01:00
parent 1392e5d1b8
commit 00b0fabc2c
2 changed files with 10 additions and 4 deletions

View file

@ -1,8 +1,10 @@
# OpenRC
# Initsystems
## OpenRC
Alpine Linux uses OpenRC as init system which has a few configuration option that can be changed. Most options are already explained in the `/etc/rc.conf` file which has to be edited.
## Parallel services
### Parallel services
The boot process can be sped up if services are launched parallel (do note that this *can* lead to small issues).
@ -10,7 +12,7 @@ The boot process can be sped up if services are launched parallel (do note that
rc_parallel="YES"
```
## Logging
### Logging
What is more important is enabling the logger which logs the rc process. Enable it by setting:
@ -26,3 +28,7 @@ To also log the kernel add `klogd`.
```
You can view the logs in `/var/log/dmesg` and `/var/log/messages`
## User services using Runit

View file

@ -54,7 +54,7 @@ nav:
- 'Config files': alpine-desktop-setup/post-install/config-files.md
- 'Nix': alpine-desktop-setup/post-install/nix.md
- 'Zram': alpine-desktop-setup/post-install/zram.md
- 'OpenRC': alpine-desktop-setup/post-install/openrc.md
- 'Initsystems': alpine-desktop-setup/post-install/initsystems.md
- 'Firmware and drivers': alpine-desktop-setup/post-install/drivers.md
- 'Secureboot and automatic decryption': alpine-desktop-setup/post-install/automatic-decryption.md
- 'Power management': alpine-desktop-setup/post-install/power-management.md