smeserver-altqmail/root/var/service/altqmail-smtpd/run

10 lines
279 B
Plaintext
Raw Normal View History

#!/bin/sh
PORT=$(/sbin/e-smith/db configuration getprop altqmail-smtpd TCPPort)
exec \
/usr/bin/env - PATH="/var/qmail/bin:/bin:/usr/bin:/usr/local/bin" \
tcpsvd -vv 127.0.0.1 ${PORT:-27} \
chpst -u qmails -/ ../altqmail/root /var/qmail/bin/qmail-smtpd \
2>&1