This commit is contained in:
Christoph 2022-09-21 12:17:40 +02:00
commit 7b2bce7f7f

View File

@ -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