diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-08-23 15:36:55 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-08-23 15:36:55 +0000 |
commit | e6ada0b74352f77124a682d98c6d842fd5c44b45 (patch) | |
tree | 77e406393684f15dfa4aa8e41f16ec3d27e90286 /examples/s6-rc/httpd-6/run | |
parent | 8d8edcd55e8601b888bf310c813d26fc328c9eaf (diff) | |
download | tipidee-e6ada0b74352f77124a682d98c6d842fd5c44b45.tar.xz |
Add some doc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/s6-rc/httpd-6/run')
-rwxr-xr-x | examples/s6-rc/httpd-6/run | 10 |
1 files changed, 10 insertions, 0 deletions
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 -- |