#!/bin/sh # publicfile-ftpd/run # daemontools run script for publicfile ftpd service # CONLIMIT=41 FTP_ARCHIVE="/var/public/ftp" exec 2>&11 echo "*** Starting publicfile-ftpd on ${FTP_ARCHIVE}:" exec envuidgid pubftp softlimit -o25 -d250000 \ tcpserver -vDRH -l0 -b50 -c ${CONLIMIT} \ -B '220 Features: a p . '\ 0 21 \ /usr/local/publicfile/bin/ftpd ${FTP_ARCHIVE} ### that's all, folks!