9 test -e /proxmox_install_mode
&& exit 0;
11 # Note: reload-or-try-restart fails if service is not active
12 systemctl
--quiet is-active pmgdaemon.service
&& deb-systemd-invoke reload-or-try-restart pmgdaemon.service
13 systemctl
--quiet is-active pmgproxy.service
&& deb-systemd-invoke reload-or-try-restart pmgproxy.service
14 systemctl
--quiet is-active pmg-smtp-filter.service
&& deb-systemd-invoke reload-or-try-restart pmg-smtp-filter.service
15 systemctl
--quiet is-active pmgpolicy.service
&& deb-systemd-invoke reload-or-try-restart pmgpolicy.service
22 test -e /proxmox_install_mode || pmgdb init
23 test -e /proxmox_install_mode || pmgdb update
>/dev
/null
2>&1 &
24 test -e /proxmox_install_mode || pmgconfig apicert
26 update-mime-database
/usr
/share
/mime
30 abort-upgrade|abort-remove|abort-deconfigure
)
34 echo "postinst called with unknown argument \`$1'" >&2
39 # dh_installdeb will replace this with shell code automatically
40 # generated by other debhelper scripts.