summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-12-19 19:48:04 +0000
committerLaurent Bercot <ska@appnovation.com>2021-12-19 19:48:04 +0000
commit8f332d9a2a114680ab5741cec60347e183547bcf (patch)
treef9f2075050707f40724f9156644f72f6fcfcd829
parent29479981c5203d9d12b4e89f0e98c5655d83e684 (diff)
downloads6-rc-8f332d9a2a114680ab5741cec60347e183547bcf.tar.xz
examples: fix syslogd-srv script to use s6-socklog
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rwxr-xr-xexamples/source/syslogd-srv/run8
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/source/syslogd-srv/run b/examples/source/syslogd-srv/run
index de33c2c..3a781ce 100755
--- a/examples/source/syslogd-srv/run
+++ b/examples/source/syslogd-srv/run
@@ -1,8 +1,4 @@
#!/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
+s6-socklog -d3 -U -t3000