mirror of
https://github.com/sheumann/hush.git
synced 2024-08-16 09:29:16 +00:00
19 lines
254 B
Bash
Executable File
19 lines
254 B
Bash
Executable File
#!/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
|