summaryrefslogtreecommitdiff
path: root/examples/syslogd-linux/run
diff options
context:
space:
mode:
Diffstat (limited to 'examples/syslogd-linux/run')
-rwxr-xr-xexamples/syslogd-linux/run8
1 files changed, 8 insertions, 0 deletions
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