#!/bin/sh # publicfile-httpd/run # daemontools run script for publicfile httpd service # wcm, 2004.01.20 - 2004.03.08 # === CONLIMIT="101" HTTP_ARCHIVE="/var/public/http" exec 2>&1 echo "*** Starting publicfile-httpd on ${HTTP_ARCHIVE}:" exec envuidgid pubhttp softlimit -o25 -d250000 \ tcpserver -vDRH -l0 -b50 \ -c ${CONLIMIT} \ 0 80 \ /usr/local/publicfile/bin/httpd ${HTTP_ARCHIVE} ### that's all, folks!