add example supervise run file

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@13 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Ask Bjørn Hansen 2002-02-08 11:02:19 +00:00
parent 0a91332bcd
commit 9bc78b38c0

8
run Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
QMAILDUID=`id -u smtpd`
NOFILESGID=`id -g smtpd`
exec /usr/local/bin/softlimit -m 10000000 \
/usr/local/bin/tcpserver -c 10 -v -p \
-u $QMAILDUID -g $NOFILESGID 0 smtp \
./qpsmtpd 2>&1