try to reload proxmox-backup-proxy on package upgrade

This commit is contained in:
Dietmar Maurer
2020-06-22 09:39:37 +02:00
parent f28cfb322a
commit b28253d650
4 changed files with 49 additions and 4 deletions

6
debian/rules vendored
View File

@ -37,9 +37,9 @@ override_dh_auto_install:
PROXY_USER=backup \
LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
override_dh_installinit:
dh_installinit
dh_installinit --name proxmox-backup-proxy
override_dh_installsystemd:
# note: we start/try-reload-restart services manually in postinst
dh_installsystemd --no-start --no-restart-after-upgrade
# workaround https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933541
# TODO: remove once available (Debian 11 ?)