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