diff options
Diffstat (limited to 'net-mail/qmail/files/1.03-r12/run-qmailqmqpd')
-rw-r--r-- | net-mail/qmail/files/1.03-r12/run-qmailqmqpd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-mail/qmail/files/1.03-r12/run-qmailqmqpd b/net-mail/qmail/files/1.03-r12/run-qmailqmqpd new file mode 100644 index 000000000000..e936de18973a --- /dev/null +++ b/net-mail/qmail/files/1.03-r12/run-qmailqmqpd @@ -0,0 +1,17 @@ +#!/bin/sh + +# This is to make life easier +SERVICE=qmqp + +# We run this afterwards to allow appending of values etc. +[ -s ${QMAIL_CONTROLDIR}/conf-common ] && source ${QMAIL_CONTROLDIR}/conf-common +[ -s ${QMAIL_CONTROLDIR}/conf-${SERVICE}d ] && source ${QMAIL_CONTROLDIR}/conf-${SERVICE}d + +# Now run it all +exec /usr/bin/softlimit -m 8000000 \ + ${QMAIL_TCPSERVER_PRE} \ + /usr/bin/tcpserver -H -R -v -x /etc/tcp.${SERVICE}.cdb -c ${MAXCONN} \ + -u ${QMAILDUID} -g ${NOFILESGID} \ + ${TCPSERVER_HOST} ${TCPSERVER_PORT} \ + ${QMAIL_QMQP_PRE} /var/qmail/bin/qmail-${SERVICE}d ${QMAIL_QMQP_POST} \ + 2>&1 |