]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/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)
committerGuido Günther <agx@sigxcpu.org>
Wed, 18 Nov 2015 07:15:12 +0000 (08:15 +0100)
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

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