aboutsummaryrefslogtreecommitdiffstats
path: root/layout/rootfs/etc/s6-rc/source/klogd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-12-24 15:22:57 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-12-24 15:22:57 +0000
commit05742401238ce51e1ef0f840bc0c06b8c8e4ff33 (patch)
tree21bbb6b1d0b651d0fd576408091a9c298514eaf6 /layout/rootfs/etc/s6-rc/source/klogd
parent6065473e2438590c6e9204b50c6b49b473bdb1fa (diff)
downloadlh-bootstrap-05742401238ce51e1ef0f840bc0c06b8c8e4ff33.tar.gz
Adjust s6-rc db layout
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source/klogd')
-rw-r--r--layout/rootfs/etc/s6-rc/source/klogd/dependencies.d/mount-proc0
-rw-r--r--layout/rootfs/etc/s6-rc/source/klogd/producer-for1
-rwxr-xr-xlayout/rootfs/etc/s6-rc/source/klogd/run5
-rw-r--r--layout/rootfs/etc/s6-rc/source/klogd/type1
4 files changed, 7 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source/klogd/dependencies.d/mount-proc b/layout/rootfs/etc/s6-rc/source/klogd/dependencies.d/mount-proc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source/klogd/dependencies.d/mount-proc
diff --git a/layout/rootfs/etc/s6-rc/source/klogd/producer-for b/layout/rootfs/etc/s6-rc/source/klogd/producer-for
new file mode 100644
index 0000000..2f21a8f
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source/klogd/producer-for
@@ -0,0 +1 @@
+klogd-log
diff --git a/layout/rootfs/etc/s6-rc/source/klogd/run b/layout/rootfs/etc/s6-rc/source/klogd/run
new file mode 100755
index 0000000..c6df5ee
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source/klogd/run
@@ -0,0 +1,5 @@
+#!/command/execlineb -S1
+fdmove -c 2 1
+redirfd -r 0 /proc/kmsg
+exec -c
+ucspilogd
diff --git a/layout/rootfs/etc/s6-rc/source/klogd/type b/layout/rootfs/etc/s6-rc/source/klogd/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source/klogd/type
@@ -0,0 +1 @@
+longrun