summaryrefslogtreecommitdiff
path: root/examples/syslogd-linux/log/run
diff options
context:
space:
mode:
Diffstat (limited to 'examples/syslogd-linux/log/run')
-rwxr-xr-xexamples/syslogd-linux/log/run8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/syslogd-linux/log/run b/examples/syslogd-linux/log/run
new file mode 100755
index 0000000..56de271
--- /dev/null
+++ b/examples/syslogd-linux/log/run
@@ -0,0 +1,8 @@
+#!/command/execlineb -P
+s6-setuidgid syslog
+s6-envdir -f env
+import -Cs LOGSCRIPT
+exec -c
+s6-log $LOGSCRIPT
+
+# Change env/LOGSCRIPT to alter s6-log's behaviour