19 lines
254 B
Plaintext
19 lines
254 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
#exec >/dev/null
|
||
|
exec 2>&1
|
||
|
exec </dev/null
|
||
|
|
||
|
user=www
|
||
|
user=root
|
||
|
|
||
|
echo "* Starting tcpsvd for httpd [$$]"
|
||
|
exec \
|
||
|
env - PATH="$PATH" \
|
||
|
softlimit \
|
||
|
tcpsvd \
|
||
|
-v -E -l localhost -c 5 \
|
||
|
0 88 \
|
||
|
setuidgid "$user" \
|
||
|
httpd -vvv -i -h /pub/httpd_root
|