qpsmtpd/run
Ask Bjørn Hansen 9bc78b38c0 add example supervise run file
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@13 958fd67b-6ff1-0310-b445-bb7760255be9
2002-02-08 11:02:19 +00:00

9 lines
202 B
Bash
Executable File

#!/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