aboutsummaryrefslogtreecommitdiffstats
path: root/main/msmtp/msmtp.initd
blob: 70b9940c4009ae6fa59b0b050b8691297558df85 (plain)
1
2
3
4
5
6
7
8
9
10
#!/sbin/openrc-run

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

pidfile="/var/run/${SVCNAME}"
command="/usr/bin/msmtpd"
command_args="--interface=$MSMTP_INTERFACE --port=$MSMTP_PORT --command='$MSMTP_COMMAND' "
command_background="yes"