diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-21 21:07:33 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-21 21:38:08 -0300 |
commit | d74c0d7b2781c01f740a3e71ec8f5e78a6d99ecb (patch) | |
tree | 6e0654e5156b5a720c53631cf27d19689c1cc002 /testing/postfwd/postfwd.initd | |
parent | e83ef14dd7237bb812f7bc842dcedcd3ec367d7b (diff) | |
download | aports-d74c0d7b2781c01f740a3e71ec8f5e78a6d99ecb.tar.bz2 aports-d74c0d7b2781c01f740a3e71ec8f5e78a6d99ecb.tar.xz |
testing/postfwd: upgrade to 2.02
Diffstat (limited to 'testing/postfwd/postfwd.initd')
-rw-r--r-- | testing/postfwd/postfwd.initd | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/testing/postfwd/postfwd.initd b/testing/postfwd/postfwd.initd index 81d8613a17..80721b81ab 100644 --- a/testing/postfwd/postfwd.initd +++ b/testing/postfwd/postfwd.initd @@ -1,18 +1,19 @@ #!/sbin/openrc-run +supervisor=supervise-daemon -command="/usr/sbin/postfwd" -pidfile="/run/postfwd.pid" +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} ---pidfile ${pidfile} -${POSTFWD_OPTS} -" -command_args_background="--daemon" + --interface=${POSTFWD_LISTEN} + --port=${POSTFWD_PORT} + --user=${POSTFWD_USER} + --group=${POSTFWD_GROUP} + ${POSTFWD_OPTS} + " +command_args_foreground="--nodaemon" depend() { need net } - |