mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
19 lines
322 B
Plaintext
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
|
|
}
|
|
|