]> xenbits.xensource.com Git - libvirt.git/commit
Fix libvirt-guests init script
authorJiri Denemark <jdenemar@redhat.com>
Thu, 27 May 2010 12:47:11 +0000 (14:47 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 28 May 2010 16:00:53 +0000 (18:00 +0200)
commit1a5c465ee5eb18c3bf7390a73da4beeb4448cd52
tree03215b637c9fb9674b449befd53777f56b5d43ae
parent208b2ad879e6fcb30730af1f24ba6ed843bfcd79
Fix libvirt-guests init script

Firstly, the init script has to touch its file under /var/lock/subsys
when started, otherwise the system would think it's not running and
won't stop it during shutdown.

Secondly, for some reason there is a policy to automatically enable
init scripts when they are installed, so let the specfile do this. We
also need to start the init script to ensure it will be stopped during
the first shutdown after installing the package.

Also $LISTFILE should be enclosed by quotes everywhere as suggested by
Eric.
daemon/libvirt-guests.init.in
libvirt.spec.in