summaryrefslogtreecommitdiff
path: root/examples/ROOT/img/services-local/klogd-linux
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/ROOT/img/services-local/klogd-linux
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/ROOT/img/services-local/klogd-linux')
-rw-r--r--examples/ROOT/img/services-local/klogd-linux/README3
-rw-r--r--examples/ROOT/img/services-local/klogd-linux/log/README1
-rwxr-xr-xexamples/ROOT/img/services-local/klogd-linux/log/run4
-rwxr-xr-xexamples/ROOT/img/services-local/klogd-linux/run5
4 files changed, 0 insertions, 13 deletions
diff --git a/examples/ROOT/img/services-local/klogd-linux/README b/examples/ROOT/img/services-local/klogd-linux/README
deleted file mode 100644
index ec95a00..0000000
--- a/examples/ROOT/img/services-local/klogd-linux/README
+++ /dev/null
@@ -1,3 +0,0 @@
-This klogd emulation is only valid under Linux.
-The service only processes logs from /proc/kmsg and
-sends them to stdout, i.e. its own logger.
diff --git a/examples/ROOT/img/services-local/klogd-linux/log/README b/examples/ROOT/img/services-local/klogd-linux/log/README
deleted file mode 100644
index 6b51a4a..0000000
--- a/examples/ROOT/img/services-local/klogd-linux/log/README
+++ /dev/null
@@ -1 +0,0 @@
-Processed kernel logs will be logged to the /var/log/klogd/ logdir.
diff --git a/examples/ROOT/img/services-local/klogd-linux/log/run b/examples/ROOT/img/services-local/klogd-linux/log/run
deleted file mode 100755
index d9659e7..0000000
--- a/examples/ROOT/img/services-local/klogd-linux/log/run
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/command/execlineb -P
-s6-setuidgid klog
-exec -c
-s6-log t s1000000 n20 /var/log/klogd
diff --git a/examples/ROOT/img/services-local/klogd-linux/run b/examples/ROOT/img/services-local/klogd-linux/run
deleted file mode 100755
index 453b55b..0000000
--- a/examples/ROOT/img/services-local/klogd-linux/run
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/command/execlineb -P
-fdmove -c 2 1
-redirfd -r 0 /proc/kmsg
-exec -c
-ucspilogd