[pve-devel] [PATCH ha-manager] lrm.service: do not timeout on stop

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Oct 9 12:03:23 CEST 2017


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 at proxmox.com>
---
 debian/pve-ha-lrm.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
2.11.0





More information about the pve-devel mailing list