[Pkg-libvirt-commits] [SCM] Libvirt debian packaging branch, experimental, updated. debian/0.4.6-6-16-gbaff048
Guido Guenther
agx at sigxcpu.org
Fri Dec 5 09:40:56 UTC 2008
The following commit has been merged in the experimental branch:
commit 0d9116ada9df30075bb9fcfafd67f2be3eb61876
Author: Guido Günther <agx at sigxcpu.org>
Date: Thu Dec 4 16:34:25 2008 +0100
rotate qemu monitor logs
Closes: #507553
Thanks: Harald Staub
diff --git a/debian/libvirt-bin.libvirtd.logrotate b/debian/libvirt-bin.libvirtd.logrotate
new file mode 100644
index 0000000..f345ad1
--- /dev/null
+++ b/debian/libvirt-bin.libvirtd.logrotate
@@ -0,0 +1,8 @@
+/var/log/libvirt/qemu/*.log {
+ daily
+ missingok
+ rotate 7
+ compress
+ delaycompress
+ copytruncate
+}
diff --git a/debian/rules b/debian/rules
index 864d723..06b47c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,7 @@ DEB_DBG_PACKAGE_libvirt0 = libvirt0-dbg
DEB_PYTHON_SETUP_CMD := /dev/null
DEB_DH_MAKESHLIBS_ARGS_libvirt0 += -V 'libvirt0 (>= 0.5.0)'
DEB_DH_INSTALLINIT_ARGS := --no-restart-on-upgrade
+DEB_DH_INSTALLLOGROTATE_ARGS := --name=libvirtd
EXAMPLES=debian/libvirt-doc/usr/share/doc/libvirt-doc/examples/
--
Libvirt debian packaging
More information about the Pkg-libvirt-commits
mailing list