summary refs log tree commit diff
path: root/examples/s6-rc/httpsd-4
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-08-23 15:36:55 +0000
committerLaurent Bercot <ska@appnovation.com>2023-08-23 15:36:55 +0000
commite6ada0b74352f77124a682d98c6d842fd5c44b45 (patch)
tree77e406393684f15dfa4aa8e41f16ec3d27e90286 /examples/s6-rc/httpsd-4
parent8d8edcd55e8601b888bf310c813d26fc328c9eaf (diff)
downloadtipidee-e6ada0b74352f77124a682d98c6d842fd5c44b45.tar.gz
tipidee-e6ada0b74352f77124a682d98c6d842fd5c44b45.tar.xz
tipidee-e6ada0b74352f77124a682d98c6d842fd5c44b45.zip
Add some doc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/s6-rc/httpsd-4')
-rw-r--r--examples/s6-rc/httpsd-4/notification-fd1
-rw-r--r--examples/s6-rc/httpsd-4/producer-for1
-rwxr-xr-xexamples/s6-rc/httpsd-4/run11
-rw-r--r--examples/s6-rc/httpsd-4/type1
4 files changed, 14 insertions, 0 deletions
diff --git a/examples/s6-rc/httpsd-4/notification-fd b/examples/s6-rc/httpsd-4/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/s6-rc/httpsd-4/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/s6-rc/httpsd-4/producer-for b/examples/s6-rc/httpsd-4/producer-for
new file mode 100644
index 0000000..1c2200a
--- /dev/null
+++ b/examples/s6-rc/httpsd-4/producer-for
@@ -0,0 +1 @@
+httpsd-4-log
diff --git a/examples/s6-rc/httpsd-4/run b/examples/s6-rc/httpsd-4/run
new file mode 100755
index 0000000..54be026
--- /dev/null
+++ b/examples/s6-rc/httpsd-4/run
@@ -0,0 +1,11 @@
+#!/bin/execlineb -P
+
+fdmove -c 2 1
+backtick -E ip { pipeline { s6-dnsip4 example.com } head -n 1 }
+s6-envuidgid www
+export KEYFILE /etc/ssl/acme/private/example.com/key.pem
+export CERTFILE /etc/ssl/acme/example.com/cert.pem
+cd /home/www
+fdmove 1 3
+s6-tlsserver -v -4 -1 -U -c 512 -K 30000 -- $ip 443
+tipideed -v2 --
diff --git a/examples/s6-rc/httpsd-4/type b/examples/s6-rc/httpsd-4/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/s6-rc/httpsd-4/type
@@ -0,0 +1 @@
+longrun