summaryrefslogtreecommitdiff
path: root/examples/source/httpd-4/run
blob: a2e3612b3f0d6834e038b813a5b57a4c72f34d3a (plain)
1
2
3
4
5
6
7
8
#!/command/execlineb -P
fdmove -c 2 1
s6-envuidgid www
cd /home/www
import -ui ETH0_IP4
fdmove 1 3
s6-tcpserver4 -v 2 -U -c 512 -1 -- ${ETH0_IP4} 80
httpd -iv