aboutsummaryrefslogtreecommitdiffstats
path: root/testing/postfwd/postfwd.initd
blob: 80721b81aba72015ddb92572408cf8b1ae351490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/openrc-run
supervisor=supervise-daemon

name=postfwd
description="Postfix firewall daemon"

command=/usr/sbin/postfwd
command_args="--file ${POSTFWD_CONFIG}
	--interface=${POSTFWD_LISTEN}
	--port=${POSTFWD_PORT}
	--user=${POSTFWD_USER}
	--group=${POSTFWD_GROUP}
	${POSTFWD_OPTS}
	"
command_args_foreground="--nodaemon"

depend() {
	need net
}