summaryrefslogtreecommitdiff
path: root/examples/s6/httpd-6/run
blob: 959c3b4d49cb8ed6d1dfb4d3de221a955dd1e333 (plain)
1
2
3
4
5
6
7
8
9
#!/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-tcpserver -1 -U -c 512 -- $ip 80
tipideed