diff --git a/debian/postinst b/debian/postinst index ee31737c..b416b7e8 100644 --- a/debian/postinst +++ b/debian/postinst @@ -8,19 +8,12 @@ case "$1" in configure) # modeled after dh_systemd_start output systemctl --system daemon-reload >/dev/null || true - if [ -n "$2" ]; then - _dh_action=try-restart - else - _dh_action=start - fi - deb-systemd-invoke $_dh_action proxmox-backup.service >/dev/null || true - if [ -n "$2" ]; then _dh_action=try-reload-or-restart else _dh_action=start fi - deb-systemd-invoke $_dh_action proxmox-backup-proxy.service >/dev/null || true + deb-systemd-invoke $_dh_action proxmox-backup.service proxmox-backup-proxy.service >/dev/null || true ;; abort-upgrade|abort-remove|abort-deconfigure)