aboutsummaryrefslogtreecommitdiffstats
path: root/main/msmtp/msmtp.initd
blob: 38ae4c336ff57747697e52f3d54346c8d618e4fc (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/${SVCNAME}"
command_args="--interface=$MSMTP_INTERFACE --port=$MSMTP_PORT --command=$MSMTP_COMMAND "
command_background="yes"