29 lines
625 B
Plaintext
29 lines
625 B
Plaintext
# ---
|
|
# 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
|