[Pkg-nagios-changes] [SCM] debian packaging of icinga(-core) branch, master, updated. debian/1.7.0-1-4-g1bbfc77
Alexander Wirt
formorer at debian.org
Tue May 29 20:31:58 UTC 2012
The following commit has been merged in the master branch:
commit 24e3fc9ce85ff4806b70892be56f0a22c7000ffd
Author: Alexander Wirt <formorer at debian.org>
Date: Tue May 29 21:57:35 2012 +0200
Move old retention.dat to new locatation
Closes: #675046
diff --git a/debian/icinga-core.postinst b/debian/icinga-core.postinst
index 7f35117..dcc6268 100644
--- a/debian/icinga-core.postinst
+++ b/debian/icinga-core.postinst
@@ -1,5 +1,11 @@
#!/bin/sh -e
+if [ -e "/var/lib/icinga/retention.dat" ]
+then
+ echo "Move old retention.dat to new location (/var/cache/icinga/)"
+ mv /var/lib/icinga/retention.dat /var/cach/icinga/retention.dat
+fi
+
#if we stop icinga in icinga.prerm we should also start it here..
if [ -x "/etc/init.d/icinga" ]; then
if ! /etc/init.d/icinga status >/dev/null; then
--
debian packaging of icinga(-core)
More information about the Pkg-nagios-changes
mailing list