add more service examples

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-11-08 00:55:39 +01:00
parent 44f8d01399
commit f5c2f72917
21 changed files with 689 additions and 11 deletions

18
examples/var_service/httpd/run Executable file
View File

@@ -0,0 +1,18 @@
#!/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