mirror of
git://git.proxmox.com/git/pve-ha-manager.git
synced 2025-01-07 21:18:00 +03:00
8a25bf2969
We wrongly dropped the semi-manual postinst in favor of a fully
auto-generated one, but we always need to generate the trigger
actions ourself - cannot work otherwise.
Fix 3166752
("postinst: use auto generated postinst")
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
16 lines
316 B
Bash
16 lines
316 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
#DEBHELPER#
|
|
|
|
if [ "$1" = "triggered" ]; then
|
|
systemctl --quiet is-active pve-ha-lrm.service &&
|
|
deb-systemd-invoke reload-or-try-restart pve-ha-lrm.service
|
|
|
|
systemctl --quiet is-active pve-ha-crm.service &&
|
|
deb-systemd-invoke reload-or-try-restart pve-ha-crm.service
|
|
fi
|
|
|
|
exit 0
|