commit 4257dbc01527027ad028667bfd7568352b49f1eb parent a39a69a810620946ba52770c3a9572e4e126f9d5 Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Tue, 15 Jan 2019 14:50:57 +0000 Update examples Diffstat:
A | examples/klogd-linux/log/notification-fd | | | 1 | + |
M | examples/klogd-linux/log/run | | | 2 | +- |
A | examples/syslogd-linux/log/notification-fd | | | 1 | + |
M | examples/syslogd-linux/log/run | | | 2 | +- |
4 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/examples/klogd-linux/log/notification-fd 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 @@ -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 @@ -0,0 +1 @@ +3 diff --git 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