]> git.proxmox.com Git - pve-ha-manager.git/blame - debian/pve-ha-manager.postinst
lrm: avoid job starvation on huge workloads
[pve-ha-manager.git] / debian / pve-ha-manager.postinst
CommitLineData
8a25bf29
TL
1#!/bin/sh
2
3set -e
4
5#DEBHELPER#
6
7if [ "$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
13fi
14
15exit 0