9 test -e /proxmox_install_mode
&& exit 0;
11 # Note: reload-or-try-restart fails if service is not active
12 for service
in pmgdaemon pmgproxy pmg-smtp-filter pmgpolicy pmgtunnel pmgmirror
; do
13 if systemctl
--quiet is-active
$service.service
; then
14 deb-systemd-invoke reload-or-try-restart
$service.service
23 test -e /proxmox_install_mode
&& exit 0;
31 if systemctl
--quiet is-active pmgpolicy.service
; then
32 deb-systemd-invoke reload-or-try-restart postgres.service
34 pmgconfig sync
--restart
37 pmgdb update
>/dev
/null
2>&1 &
39 update-mime-database
/usr
/share
/mime
42 abort-upgrade|abort-remove|abort-deconfigure
)
46 echo "postinst called with unknown argument \`$1'" >&2
51 # dh_installdeb will replace this with shell code automatically
52 # generated by other debhelper scripts.