summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/klogd-linux/log/notification-fd1
-rwxr-xr-xexamples/klogd-linux/log/run2
-rw-r--r--examples/syslogd-linux/log/notification-fd1
-rwxr-xr-xexamples/syslogd-linux/log/run2
4 files changed, 4 insertions, 2 deletions
diff --git a/examples/klogd-linux/log/notification-fd b/examples/klogd-linux/log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/klogd-linux/log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/klogd-linux/log/run b/examples/klogd-linux/log/run
index d9659e7..458fe27 100755
--- a/examples/klogd-linux/log/run
+++ b/examples/klogd-linux/log/run
@@ -1,4 +1,4 @@
#!/command/execlineb -P
s6-setuidgid klog
exec -c
-s6-log t s1000000 n20 /var/log/klogd
+s6-log -d3 t s1000000 n20 /var/log/klogd
diff --git a/examples/syslogd-linux/log/notification-fd b/examples/syslogd-linux/log/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/syslogd-linux/log/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/syslogd-linux/log/run b/examples/syslogd-linux/log/run
index 6f1c877..fcb667c 100755
--- a/examples/syslogd-linux/log/run
+++ b/examples/syslogd-linux/log/run
@@ -3,6 +3,6 @@ s6-setuidgid syslog
s6-envdir -f env
importas -Cs LOGSCRIPT LOGSCRIPT
exec -c
-s6-log $LOGSCRIPT
+s6-log -d3 -- $LOGSCRIPT
# Change env/LOGSCRIPT to alter s6-log's behaviour