From f3b89f3a709dacae8b41f415aa1ad490ae6daf93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 20 Jun 2023 12:32:59 +0200 Subject: [PATCH] d/rules: fix dh_installsystemd invocation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit the services should definitely not be stopped in preinst! relevant debdiff with this change: Preinst files: lines which differ (wdiff format) ------------------------------------------------ [-# Automatically added by dh_installsystemd/13.11.4-] [-if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = upgrade ] && [ -d /run/systemd/system ] ; then-] [- deb-systemd-invoke stop 'proxmox-backup-banner.service' 'proxmox-backup-daily-update.service' 'proxmox-backup-daily-update.timer' 'proxmox-backup-proxy.service' 'proxmox-backup.service' >/dev/null || true-] [-fi-] [-# End automatically added section-] Signed-off-by: Fabian Grünbichler --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 79366229..54a3c22b 100755 --- a/debian/rules +++ b/debian/rules @@ -46,7 +46,7 @@ override_dh_auto_install: override_dh_installsystemd: dh_installsystemd -pproxmox-backup-server proxmox-backup-daily-update.timer # note: we start/try-reload-restart services manually in postinst - dh_installsystemd --no-start --no-restart-after-upgrade + dh_installsystemd --no-start --no-restart-after-upgrade --no-stop-on-upgrade override_dh_fixperms: dh_fixperms --exclude sg-tape-cmd -- 2.39.5