From e6ada0b74352f77124a682d98c6d842fd5c44b45 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 23 Aug 2023 15:36:55 +0000 Subject: Add some doc Signed-off-by: Laurent Bercot --- examples/s6-rc/httpd-6/notification-fd | 1 + examples/s6-rc/httpd-6/producer-for | 1 + examples/s6-rc/httpd-6/run | 10 ++++++++++ examples/s6-rc/httpd-6/type | 1 + 4 files changed, 13 insertions(+) create mode 100644 examples/s6-rc/httpd-6/notification-fd create mode 100644 examples/s6-rc/httpd-6/producer-for create mode 100755 examples/s6-rc/httpd-6/run create mode 100644 examples/s6-rc/httpd-6/type (limited to 'examples/s6-rc/httpd-6') diff --git a/examples/s6-rc/httpd-6/notification-fd b/examples/s6-rc/httpd-6/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/examples/s6-rc/httpd-6/notification-fd @@ -0,0 +1 @@ +3 diff --git a/examples/s6-rc/httpd-6/producer-for b/examples/s6-rc/httpd-6/producer-for new file mode 100644 index 0000000..eb26378 --- /dev/null +++ b/examples/s6-rc/httpd-6/producer-for @@ -0,0 +1 @@ +httpd-6-log diff --git a/examples/s6-rc/httpd-6/run b/examples/s6-rc/httpd-6/run new file mode 100755 index 0000000..ae4dbba --- /dev/null +++ b/examples/s6-rc/httpd-6/run @@ -0,0 +1,10 @@ +#!/bin/execlineb -P + +fdmove -c 2 1 +backtick -E ip { pipeline { s6-dnsip6 example.com } head -n 1 } +s6-envuidgid www +cd /home/www +fdmove 1 3 +s6-tcpserver6 -v2 -1 -U -c 512 -- $ip 80 +s6-tcpserver-access -lexample.com -- +tipideed -v2 -- diff --git a/examples/s6-rc/httpd-6/type b/examples/s6-rc/httpd-6/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/examples/s6-rc/httpd-6/type @@ -0,0 +1 @@ +longrun -- cgit v1.2.3