From: Thomas Lamprecht Date: Wed, 11 Oct 2017 13:10:18 +0000 (+0200) Subject: lrm.service: do not timeout on stop X-Git-Url: https://git.proxmox.com/?p=pve-ha-manager.git;a=commitdiff_plain;h=2fb6fcd318f25abcf7c97fe275d06c4d2d6f0be6 lrm.service: do not timeout on stop 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 --- diff --git a/debian/pve-ha-lrm.service b/debian/pve-ha-lrm.service index 12143f3..a527844 100644 --- a/debian/pve-ha-lrm.service +++ b/debian/pve-ha-lrm.service @@ -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