[Pkg-nagios-changes] [pkg-nagios] r981 - nagios2/trunk/debian
Marc Haber
zugschlus at costa.debian.org
Wed Aug 16 09:29:15 UTC 2006
Author: zugschlus
Date: 2006-08-16 09:29:14 +0000 (Wed, 16 Aug 2006)
New Revision: 981
Added:
nagios2/trunk/debian/nagios2-common.logrotate
Modified:
nagios2/trunk/debian/changelog
nagios2/trunk/debian/rules
Log:
* Add logrotate file
Modified: nagios2/trunk/debian/changelog
===================================================================
--- nagios2/trunk/debian/changelog 2006-08-16 09:08:42 UTC (rev 980)
+++ nagios2/trunk/debian/changelog 2006-08-16 09:29:14 UTC (rev 981)
@@ -13,6 +13,7 @@
* Add #!/usr/bin/perl to p1.pl to properly generate perl dependency.
* make p1.pl executeable to make lintian happy
* Fix totally mixed up Section: and Priority: for binary packages.
+ * Add logrotate file
* Fix path to debian.png in example extinfo file.
Thanks to Peter Schwindt. Closes: #355552
* New French (fr) translation.
@@ -20,7 +21,7 @@
* New Czech (cs) translation.
Thanks to Martin Šín. Closes: #382924
- -- Marc Haber <mh+debian-packages at zugschlus.de> Wed, 16 Aug 2006 09:07:29 +0000
+ -- Marc Haber <mh+debian-packages at zugschlus.de> Wed, 16 Aug 2006 09:28:48 +0000
nagios2 (2.4-1) unstable; urgency=low
Added: nagios2/trunk/debian/nagios2-common.logrotate
===================================================================
--- nagios2/trunk/debian/nagios2-common.logrotate 2006-08-16 09:08:42 UTC (rev 980)
+++ nagios2/trunk/debian/nagios2-common.logrotate 2006-08-16 09:29:14 UTC (rev 981)
@@ -0,0 +1,11 @@
+/var/log/nagios2/nagios.log {
+ daily
+ missingok
+ rotate 10
+ compress
+ delaycompress
+ notifempty
+ postrotate
+ /etc/init.d/nagios2 reload
+ endscript
+}
Modified: nagios2/trunk/debian/rules
===================================================================
--- nagios2/trunk/debian/rules 2006-08-16 09:08:42 UTC (rev 980)
+++ nagios2/trunk/debian/rules 2006-08-16 09:29:14 UTC (rev 981)
@@ -148,6 +148,7 @@
chmod 755 ${b}/nagios2/usr/lib/nagios2/p1.pl
dh_installdocs -i
dh_installman -a -pnagios2
+ dh_installlogrotate
dh_installchangelogs -i
dh_install -i
dh_installinit --name nagios2 -- defaults 30 18
More information about the Pkg-nagios-changes
mailing list