]> xenbits.xensource.com Git - libvirt.git/commit
Leave all child processes running when stopping systemd service
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 22 Mar 2012 14:01:12 +0000 (14:01 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 23 Mar 2012 12:46:16 +0000 (12:46 +0000)
commitcb640543c86428a9f472e0c425b65e462d118afa
treefd477f85aee45107866ef162525be7962fcb9b11
parent350e6c5e66c0cbc14551a25a6ec1d77e3158a9ed
Leave all child processes running when stopping systemd service

Currently the libvirt.service unit file for systemd does not
specify any kill mode. So systemd kills off every process
inside its cgroup. ie all dnsmasq processes, all virtual
machines. This obviously not what we want. Set KillMode=process
so that it only kills the top level process of libvirtd

* daemon/libvirtd.service.in: Add KillMode=process

Reported-By: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
daemon/libvirtd.service.in