aports/testing/postfwd2/postfwd2.initd
2019-02-17 19:21:37 +00:00

19 lines
322 B
Plaintext

#!/sbin/openrc-run
command="/usr/sbin/postfwd2"
pidfile="/run/postfwd2.pid"
command_args="--file ${POSTFWD2_CONFIG}
--interface=${POSTFWD2_LISTEN}
--port=${POSTFWD2_PORT}
--user=${POSTFWD2_USER}
--group=${POSTFWD2_GROUP}
--pidfile ${pidfile}
${POSTFWD2_OPTS}
"
command_args_background="--daemon"
depend() {
need net
}