]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
lrm: fix stop timeout
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 26 Mar 2015 09:43:06 +0000 (10:43 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 26 Mar 2015 09:46:02 +0000 (10:46 +0100)
debian/pve-ha-crm.service
debian/pve-ha-lrm.service
src/pve-ha-lrm

index ce285f5674e7c5fe643a82069e1a1469b22d1c45..c2104441fdf72c003705d9e09c888e6dd648a347 100644 (file)
@@ -15,7 +15,7 @@ After=syslog.service
 ExecStart=/usr/sbin/pve-ha-crm start
 ExecStop=/usr/sbin/pve-ha-crm stop
 PIDFile=/var/run/pve-ha-crm.pid
-TimeoutStopSec=60
+TimeoutStopSec=65
 Type=forking
 
 [Install]
index 1f4f0571e297927071134d9fb26c810da3824256..84cad17acb8e496f9872730bb8fb794a528086a9 100644 (file)
@@ -17,7 +17,7 @@ After=syslog.service
 ExecStart=/usr/sbin/pve-ha-lrm start
 ExecStop=/usr/sbin/pve-ha-lrm stop
 PIDFile=/var/run/pve-ha-lrm.pid
-TimeoutStopSec=180
+TimeoutStopSec=185
 Type=forking
 
 [Install]
index bb26acbed9f10b5ef62bf061178d40d7fe014899..b5fe29cd33152f5b6bc74a70a74ec4ae6f3938b5 100755 (executable)
@@ -24,7 +24,7 @@ $SIG{'__WARN__'} = sub {
 
 my $cmdline = [$0, @ARGV];
 
-my %daemon_options = (stop_wait_time => 60);
+my %daemon_options = (stop_wait_time => 180);
 
 my $daemon = __PACKAGE__->new('pve-ha-lrm', $cmdline, %daemon_options);