diff --git a/DOC/postfwd/README.change-initd-script b/DOC/postfwd/README.change-initd-script new file mode 100644 index 0000000..04d5cf9 --- /dev/null +++ b/DOC/postfwd/README.change-initd-script @@ -0,0 +1,28 @@ +# --- +# Error: +# +# Restarting postfwd via systemd or initd script failed +# --- + +# Get the postfwd restart to work via the systemd or initd script +# +# To get the postfwd restart to work repair stopping line in init +# script '/etc/init.d/postfwd'. Add '--user=${RUNAS}': +# +# Change line: +# +# ... +# start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE && rm -rf $PIDFILE +# ... +# +# into: +# +# ... +# start-stop-daemon --user=${RUNAS} --stop --quiet --oknodo --pidfile $PIDFILE && rm -rf $PIDFILE +# ^^^^^^^^^^^^^^^ +# ... + + +# After changing reload units +# +systemctl daemon-reload