mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
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
|