]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
libvirt-guests: Disable shutdown timeout
authorGuido Günther <agx@sigxcpu.org>
Tue, 17 Nov 2015 07:39:46 +0000 (08:39 +0100)
committerCole Robinson <crobinso@redhat.com>
Wed, 23 Dec 2015 22:59:49 +0000 (17:59 -0500)
Since we can't know at service start how many VMs will be running we
can't calculate an apropriate shutdown timeout. So instead of killing
off the service just let it use it's own internal timeout mechanism.

References:
    http://bugs.debian.org/803714
    https://bugzilla.redhat.com/show_bug.cgi?id=1195544

(cherry picked from commit ba08d16d6cec81656b333435650aef36a012034c)

tools/libvirt-guests.service.in

index cc04b6df8c3c8c38839fef350fbee7e5d0e43e6e..c31f6638bc0ee3b6c214e22a278c48ce91b4f59b 100644 (file)
@@ -13,6 +13,7 @@ ExecStop=@libexecdir@/libvirt-guests.sh stop
 Type=oneshot
 RemainAfterExit=yes
 StandardOutput=journal+console
+TimeoutStopSec=0
 
 [Install]
 WantedBy=multi-user.target