]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
lrm.service: do not timeout on stop
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 11 Oct 2017 13:10:18 +0000 (15:10 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 13 Oct 2017 08:37:15 +0000 (10:37 +0200)
we must shut all services down when stopping the LRM for a host
shutdown, this can take longer than 95 seconds and should not
get interrupted to ensure a gracefull poweroff.

The watchdog is still active untill all services got stopped so we
still are safe from a freeze or equivalent failure.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/pve-ha-lrm.service

index 12143f303a91b5f18d5d631fb417f88445a4b38e..a5278448d0e5c9e93ecab2af9d82acc9cb30b619 100644 (file)
@@ -20,7 +20,7 @@ After=lxc.service
 ExecStart=/usr/sbin/pve-ha-lrm start
 ExecStop=/usr/sbin/pve-ha-lrm stop
 PIDFile=/var/run/pve-ha-lrm.pid
-TimeoutStopSec=95
+TimeoutStopSec=infinity
 KillMode=process
 Type=forking