run 254 B

123456789101112131415161718
  1. #!/bin/sh
  2. #exec >/dev/null
  3. exec 2>&1
  4. exec </dev/null
  5. user=www
  6. user=root
  7. echo "* Starting tcpsvd for httpd [$$]"
  8. exec \
  9. env - PATH="$PATH" \
  10. softlimit \
  11. tcpsvd \
  12. -v -E -l localhost -c 5 \
  13. 0 88 \
  14. setuidgid "$user" \
  15. httpd -vvv -i -h /pub/httpd_root