From 00b0fabc2ca7ad4df11422a6cea6806b0960ac93 Mon Sep 17 00:00:00 2001 From: Tastatur Date: Sat, 20 Jan 2024 16:33:23 +0100 Subject: [PATCH] Initial things added for runit user services --- .../post-install/{openrc.md => initsystems.md} | 12 +++++++++--- mkdocs.yml | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) rename docs/alpine-desktop-setup/post-install/{openrc.md => initsystems.md} (87%) diff --git a/docs/alpine-desktop-setup/post-install/openrc.md b/docs/alpine-desktop-setup/post-install/initsystems.md similarity index 87% rename from docs/alpine-desktop-setup/post-install/openrc.md rename to docs/alpine-desktop-setup/post-install/initsystems.md index f9fa91e..5140671 100644 --- a/docs/alpine-desktop-setup/post-install/openrc.md +++ b/docs/alpine-desktop-setup/post-install/initsystems.md @@ -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 diff --git a/mkdocs.yml b/mkdocs.yml index ac61aa4..7295d58 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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