From 2bb4d995573910c56eadd0ff32c72e8ec209f7b5 Mon Sep 17 00:00:00 2001 From: Tastatur Date: Tue, 26 Dec 2023 01:12:06 +0100 Subject: [PATCH] Updated logging --- docs/alpine-desktop-setup/post-install/openrc.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/alpine-desktop-setup/post-install/openrc.md b/docs/alpine-desktop-setup/post-install/openrc.md index 02bdc7f..b7e7c2a 100644 --- a/docs/alpine-desktop-setup/post-install/openrc.md +++ b/docs/alpine-desktop-setup/post-install/openrc.md @@ -2,14 +2,27 @@ 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 + The boot process can be sped up if services are launched parallel (do note that this *can* lead to small issues). ``` rc_parallel="YES" ``` +## Logging + What is more important is enabling the logger which logs the rc process. Enable it by setting: ``` rc_logger="YES" ``` + +To also log the rest of the system add `klogd`. + +``` +# apk add sysklogd +# rc-update add klogd boot +``` + +You can view the logs in `/var/log/dmesg` and `/var/log/messages`