Denys Vlasenko | f5c2f72 | 2009-11-08 00:55:39 +0100 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | #exec >/dev/null | ||||
4 | exec 2>&1 | ||||
5 | exec </dev/null | ||||
6 | |||||
7 | user=www | ||||
8 | user=root | ||||
9 | |||||
10 | echo "* Starting tcpsvd for httpd [$$]" | ||||
11 | exec \ | ||||
12 | env - PATH="$PATH" \ | ||||
13 | softlimit \ | ||||
14 | tcpsvd \ | ||||
15 | -v -E -l localhost -c 5 \ | ||||
16 | 0 88 \ | ||||
17 | setuidgid "$user" \ | ||||
18 | httpd -vvv -i -h /pub/httpd_root |