Add postfwd reademe file 'README.change-initd-script'.
This commit is contained in:
parent
fb637796fc
commit
e9ec53a282
28
DOC/postfwd/README.change-initd-script
Normal file
28
DOC/postfwd/README.change-initd-script
Normal 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
|
Loading…
Reference in New Issue
Block a user