busybox/examples/var_service/httpd/run
Denys Vlasenko f5c2f72917 add more service examples
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-08 00:55:39 +01:00

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