aboutsummaryrefslogtreecommitdiffstats
path: root/layout/rootfs/etc/s6-rc/source/klogd-log
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-log
parent6065473e2438590c6e9204b50c6b49b473bdb1fa (diff)
downloadlh-bootstrap-05742401238ce51e1ef0f840bc0c06b8c8e4ff33.tar.gz
Adjust s6-rc db layout
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source/klogd-log')
-rw-r--r--layout/rootfs/etc/s6-rc/source/klogd-log/consumer-for1
-rw-r--r--layout/rootfs/etc/s6-rc/source/klogd-log/dependencies.d/mount-rwfs0
-rw-r--r--layout/rootfs/etc/s6-rc/source/klogd-log/pipeline-name1
-rwxr-xr-xlayout/rootfs/etc/s6-rc/source/klogd-log/run4
-rw-r--r--layout/rootfs/etc/s6-rc/source/klogd-log/type1
5 files changed, 7 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source/klogd-log/consumer-for b/layout/rootfs/etc/s6-rc/source/klogd-log/consumer-for
new file mode 100644
index 0000000..fd64770
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source/klogd-log/consumer-for
@@ -0,0 +1 @@
+klogd
diff --git a/layout/rootfs/etc/s6-rc/source/klogd-log/dependencies.d/mount-rwfs b/layout/rootfs/etc/s6-rc/source/klogd-log/dependencies.d/mount-rwfs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source/klogd-log/dependencies.d/mount-rwfs
diff --git a/layout/rootfs/etc/s6-rc/source/klogd-log/pipeline-name b/layout/rootfs/etc/s6-rc/source/klogd-log/pipeline-name
new file mode 100644
index 0000000..cb7ca7b
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source/klogd-log/pipeline-name
@@ -0,0 +1 @@
+klogd-pipeline
diff --git a/layout/rootfs/etc/s6-rc/source/klogd-log/run b/layout/rootfs/etc/s6-rc/source/klogd-log/run
new file mode 100755
index 0000000..cad8883
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source/klogd-log/run
@@ -0,0 +1,4 @@
+#!/command/execlineb -S1
+s6-setuidgid kllog
+exec -c
+s6-log t s1000000 n20 /var/log/klogd
diff --git a/layout/rootfs/etc/s6-rc/source/klogd-log/type b/layout/rootfs/etc/s6-rc/source/klogd-log/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source/klogd-log/type
@@ -0,0 +1 @@
+longrun