summaryrefslogtreecommitdiff
path: root/examples/klogd-linux/log
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-10-06 16:23:19 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-10-06 16:23:19 +0000
commit4da6b9c320e6b49d38af5cb6b5861480141f24cd (patch)
treec920b72f5f291a29a71ca009ce113e4846b8a217 /examples/klogd-linux/log
parent478dd24279f833042a94590df0726d163b576af5 (diff)
downloads6-4da6b9c320e6b49d38af5cb6b5861480141f24cd.tar.xz
- add -s support to s6-svscan
- change examples to support -s - change examples to invoke s6-rc, remove servicedirs
Diffstat (limited to 'examples/klogd-linux/log')
-rw-r--r--examples/klogd-linux/log/README1
-rwxr-xr-xexamples/klogd-linux/log/run4
2 files changed, 5 insertions, 0 deletions
diff --git a/examples/klogd-linux/log/README b/examples/klogd-linux/log/README
new file mode 100644
index 0000000..6b51a4a
--- /dev/null
+++ b/examples/klogd-linux/log/README
@@ -0,0 +1 @@
+Processed kernel logs will be logged to the /var/log/klogd/ logdir.
diff --git a/examples/klogd-linux/log/run b/examples/klogd-linux/log/run
new file mode 100755
index 0000000..d9659e7
--- /dev/null
+++ b/examples/klogd-linux/log/run
@@ -0,0 +1,4 @@
+#!/command/execlineb -P
+s6-setuidgid klog
+exec -c
+s6-log t s1000000 n20 /var/log/klogd