[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, master, updated. debian/1.0.2-3-1-g9afb984
Guido Günther
agx at sigxcpu.org
Tue Feb 26 20:51:21 UTC 2013
The following commit has been merged in the master branch:
commit 9afb9847073cf8352447ddd77f78efb350a24ac2
Author: Guido Günther <agx at sigxcpu.org>
Date: Tue Feb 26 21:49:08 2013 +0100
Enable systemd services
diff --git a/debian/libvirt-bin.postinst b/debian/libvirt-bin.postinst
index 53119a2..e706f88 100644
--- a/debian/libvirt-bin.postinst
+++ b/debian/libvirt-bin.postinst
@@ -97,6 +97,12 @@ case "$1" in
sleep 1
fi
+ # enable libvirt-{bin,guests} for systemd
+ if [ -x /bin/systemctl ] && [ -d /sys/fs/cgroup/systemd ]; then
+ systemctl enable libvirt-bin.service
+ systemctl enable libvirt-guests.service
+ fi
+
if dpkg --compare-versions "$2" lt "0.6.1-2"; then
if [ -e /etc/rc2.d/S20libvirt-bin ] && \
[ -e /etc/rc3.d/S20libvirt-bin ] && \
--
Libvirt Debian packaging
More information about the Pkg-libvirt-commits
mailing list