From 4da6b9c320e6b49d38af5cb6b5861480141f24cd Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 6 Oct 2015 16:23:19 +0000 Subject: - add -s support to s6-svscan - change examples to support -s - change examples to invoke s6-rc, remove servicedirs --- examples/syslogd-linux/run | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 examples/syslogd-linux/run (limited to 'examples/syslogd-linux/run') diff --git a/examples/syslogd-linux/run b/examples/syslogd-linux/run new file mode 100755 index 0000000..de33c2c --- /dev/null +++ b/examples/syslogd-linux/run @@ -0,0 +1,8 @@ +#!/command/execlineb -P +fdmove -c 2 1 +exec -c +s6-envuidgid nobody +fdmove 1 3 +s6-ipcserver -U -1 -- /dev/log +fdmove -c 1 2 +ucspilogd IPCREMOTEEUID IPCREMOTEEGID -- cgit v1.2.3