diff options
Diffstat (limited to 'examples/s6-rc/httpd-4')
| -rw-r--r-- | examples/s6-rc/httpd-4/notification-fd | 1 | ||||
| -rw-r--r-- | examples/s6-rc/httpd-4/producer-for | 1 | ||||
| -rwxr-xr-x | examples/s6-rc/httpd-4/run | 10 | ||||
| -rw-r--r-- | examples/s6-rc/httpd-4/type | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/examples/s6-rc/httpd-4/notification-fd b/examples/s6-rc/httpd-4/notification-fd new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/examples/s6-rc/httpd-4/notification-fd @@ -0,0 +1 @@ +3 diff --git a/examples/s6-rc/httpd-4/producer-for b/examples/s6-rc/httpd-4/producer-for new file mode 100644 index 0000000..9835bc1 --- /dev/null +++ b/examples/s6-rc/httpd-4/producer-for @@ -0,0 +1 @@ +httpd-4-log diff --git a/examples/s6-rc/httpd-4/run b/examples/s6-rc/httpd-4/run new file mode 100755 index 0000000..190392f --- /dev/null +++ b/examples/s6-rc/httpd-4/run @@ -0,0 +1,10 @@ +#!/bin/execlineb -P + +fdmove -c 2 1 +backtick -E ip { pipeline { s6-dnsip4 example.com } head -n 1 } +s6-envuidgid www +cd /home/www +fdmove 1 3 +s6-tcpserver4 -v2 -1 -U -c 512 -- $ip 80 +s6-tcpserver-access -lexample.com -- +tipideed -v2 -- diff --git a/examples/s6-rc/httpd-4/type b/examples/s6-rc/httpd-4/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/examples/s6-rc/httpd-4/type @@ -0,0 +1 @@ +longrun |
