summaryrefslogtreecommitdiff
path: root/examples/s6/httpd-4/run
blob: 190392fdda54983ab512d5612d92baf3f2089b5c (plain)
1
2
3
4
5
6
7
8
9
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 --