Commit 155324da authored by Dietmar Maurer's avatar Dietmar Maurer

use systemd command reload-or-restart instead of reload

So that stopped services gets restarted.
parent 3c9f7ac9
......@@ -26,10 +26,10 @@ case "$1" in
test -f /etc/pve/local/pve-ssl.pem || exit 0;
test -e /proxmox_install_mode && exit 0;
deb-systemd-invoke reload pvedaemon.service
deb-systemd-invoke reload pvestatd.service
deb-systemd-invoke reload pveproxy.service
deb-systemd-invoke reload spiceproxy.service
deb-systemd-invoke reload-or-restart pvedaemon.service
deb-systemd-invoke reload-or-restart pvestatd.service
deb-systemd-invoke reload-or-restart pveproxy.service
deb-systemd-invoke reload-or-restart spiceproxy.service
exit 0;;
......@@ -83,7 +83,7 @@ case "$1" in
if test ! -e /proxmox_install_mode; then
for service in pvedaemon pveproxy spiceproxy pvestatd; do
deb-systemd-invoke reload $service
deb-systemd-invoke reload-or-restart $service
done
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment