From 4257dbc01527027ad028667bfd7568352b49f1eb Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 15 Jan 2019 14:50:57 +0000 Subject: Update examples --- examples/klogd-linux/log/notification-fd | 1 + examples/klogd-linux/log/run | 2 +- examples/syslogd-linux/log/notification-fd | 1 + examples/syslogd-linux/log/run | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 examples/klogd-linux/log/notification-fd create mode 100644 examples/syslogd-linux/log/notification-fd (limited to 'examples') 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 -- cgit v1.2.3