]> git.proxmox.com Git - pve-ha-manager.git/blob - debian/pve-ha-manager.postinst
env: switch to matcher-based notification system
[pve-ha-manager.git] / debian / pve-ha-manager.postinst
1 #!/bin/sh
2
3 set -e
4
5 #DEBHELPER#
6
7 if [ "$1" = "triggered" ]; then
8 systemctl --quiet is-active pve-ha-lrm.service &&
9 deb-systemd-invoke reload-or-try-restart pve-ha-lrm.service
10
11 systemctl --quiet is-active pve-ha-crm.service &&
12 deb-systemd-invoke reload-or-try-restart pve-ha-crm.service
13 fi
14
15 exit 0