Package: ircd-hybrid
Version: 1:7.2.2.dfsg.2-3
Severity: normal
Tags: patch

Hi,

ircd-hybrid needs to reopen its log files after rotation so it doesn't
keep logging to deleted files.

Cheers,
Julien
diff -u ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.logrotate ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.logrotate
--- ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.logrotate
+++ ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.logrotate
@@ -6,4 +6,7 @@
 	compress
 	delaycompress
+	postrotate
+		invoke-rc.d ircd-hybrid reload > /dev/null
+	endscript
 	missingok
 }
diff -u ircd-hybrid-7.2.2.dfsg.2/debian/changelog ircd-hybrid-7.2.2.dfsg.2/debian/changelog
--- ircd-hybrid-7.2.2.dfsg.2/debian/changelog
+++ ircd-hybrid-7.2.2.dfsg.2/debian/changelog
@@ -1,3 +1,10 @@
+ircd-hybrid (1:7.2.2.dfsg.2-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Tell ircd-hybrid to reopen its log files after rotation.
+
+ -- Julien Cristau <[EMAIL PROTECTED]>  Sat, 30 Jun 2007 02:36:30 +0200
+
 ircd-hybrid (1:7.2.2.dfsg.2-3) unstable; urgency=low
 
   * Add debconf German translation from Helge Kreutzmann.

Attachment: signature.asc
Description: Digital signature

Reply via email to