Increase softlimit and set LANG=C in ./run file

This commit is contained in:
Ask Bjørn Hansen 2009-02-27 19:14:17 -08:00
parent 9e90ace981
commit 0f2bc23aec

3
run
View File

@ -1,7 +1,8 @@
#!/bin/sh #!/bin/sh
QMAILDUID=`id -u smtpd` QMAILDUID=`id -u smtpd`
NOFILESGID=`id -g smtpd` NOFILESGID=`id -g smtpd`
exec /usr/local/bin/softlimit -m 25000000 \ LANG=C
exec /usr/local/bin/softlimit -m 50000000 \
/usr/local/bin/tcpserver -c 10 -v -R -p \ /usr/local/bin/tcpserver -c 10 -v -R -p \
-u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \ -u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \
./qpsmtpd 2>&1 ./qpsmtpd 2>&1