about summary refs log tree commit diff
path: root/examples/klogd-linux/run
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/run
parent478dd24279f833042a94590df0726d163b576af5 (diff)
downloads6-4da6b9c320e6b49d38af5cb6b5861480141f24cd.tar.gz
s6-4da6b9c320e6b49d38af5cb6b5861480141f24cd.tar.xz
s6-4da6b9c320e6b49d38af5cb6b5861480141f24cd.zip
- 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/run')
-rwxr-xr-xexamples/klogd-linux/run5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/klogd-linux/run b/examples/klogd-linux/run
new file mode 100755
index 0000000..453b55b
--- /dev/null
+++ b/examples/klogd-linux/run
@@ -0,0 +1,5 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+redirfd -r 0 /proc/kmsg
+exec -c
+ucspilogd