msmtp.initd 292 Bytes
Newer Older
1
2
3
4
5
6
7
#!/sbin/openrc-run

: ${MSMTP_INTERFACE:="127.0.0.1"}
: ${MSMTP_PORT:="25"}
: ${MSMTP_COMMAND:="/usr/bin/msmtp -f %F"}

pidfile="/var/run/${SVCNAME}"
Leonardo Arena's avatar
Leonardo Arena committed
8
9
command="/usr/bin/msmtpd"
command_args="--interface=$MSMTP_INTERFACE --port=$MSMTP_PORT --command='$MSMTP_COMMAND' "
10
command_background="yes"