about summary refs log tree commit diff
path: root/examples/s6-rc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-10-24 14:35:44 +0000
committerLaurent Bercot <ska@appnovation.com>2023-10-24 14:35:44 +0000
commit1e281512e672fe832317a57cb05df0c965db6d13 (patch)
tree19cdcf9aa0aee03a015feec6fee068512b97ee8e /examples/s6-rc
parentbf90fbf8686fe7e0ea9b86fd13457e860a8ab89d (diff)
downloadtipidee-1e281512e672fe832317a57cb05df0c965db6d13.tar.gz
tipidee-1e281512e672fe832317a57cb05df0c965db6d13.tar.xz
tipidee-1e281512e672fe832317a57cb05df0c965db6d13.zip
Fix examples
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/s6-rc')
-rwxr-xr-xexamples/s6-rc/httpd-4/run5
-rwxr-xr-xexamples/s6-rc/httpd-6/run5
-rwxr-xr-xexamples/s6-rc/httpsd-4/run4
-rwxr-xr-xexamples/s6-rc/httpsd-6/run4
4 files changed, 8 insertions, 10 deletions
diff --git a/examples/s6-rc/httpd-4/run b/examples/s6-rc/httpd-4/run
index 190392f..740cd5f 100755
--- a/examples/s6-rc/httpd-4/run
+++ b/examples/s6-rc/httpd-4/run
@@ -5,6 +5,5 @@ 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 --
+s6-tcpserver -v2 -1 -U -c 512 -- $ip 80
+tipideed
diff --git a/examples/s6-rc/httpd-6/run b/examples/s6-rc/httpd-6/run
index ae4dbba..6be027b 100755
--- a/examples/s6-rc/httpd-6/run
+++ b/examples/s6-rc/httpd-6/run
@@ -5,6 +5,5 @@ 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 --
+s6-tcpserver -v2 -1 -U -c 512 -- $ip 80
+tipideed
diff --git a/examples/s6-rc/httpsd-4/run b/examples/s6-rc/httpsd-4/run
index 54be026..2f1842f 100755
--- a/examples/s6-rc/httpsd-4/run
+++ b/examples/s6-rc/httpsd-4/run
@@ -7,5 +7,5 @@ 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 --
+s6-tlsserver -v -1 -U -c 512 -K 30000 -- $ip 443
+tipideed
diff --git a/examples/s6-rc/httpsd-6/run b/examples/s6-rc/httpsd-6/run
index 652a354..3523609 100755
--- a/examples/s6-rc/httpsd-6/run
+++ b/examples/s6-rc/httpsd-6/run
@@ -7,5 +7,5 @@ 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 -6 -1 -U -c 512 -K 30000 -- $ip 443
-tipideed -v2 --
+s6-tlsserver -v -1 -U -c 512 -K 30000 -- $ip 443
+tipideed