Reload systemd bevor enabling.

This commit is contained in:
Christoph 2017-12-02 02:20:45 +01:00
parent 8b82efe7b0
commit fe6243fc20

View File

@ -3094,6 +3094,19 @@ if $START_AT_BOOTTIME ; then
fi
fi
echononl "\tReload systemd.."
if $SYSTEMD_EXISTS ; then
systemctl daemon-reload > /dev/null 2>&1
if [ "$?" = "0" ]; then
echo_ok
else
echo_failed
warn "Reloading systemd.. failed!"
fi
else
echo_skipped
fi
## - Make apache start at boottime
## -
echo "" >> ${_logdir}/main.log