From: Fajar A. Nugraha Date: Mon, 16 Jan 2012 07:26:22 +0000 (+0700) Subject: Updated freeradius.logrotate from Debian's 2.1.10+dfsg-2 X-Git-Tag: release_2_2_0~199^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e29ea9e62681d2e4e456c25279de1be4356155bf;p=thirdparty%2Ffreeradius-server.git Updated freeradius.logrotate from Debian's 2.1.10+dfsg-2 This commit applies changes to debian/freeradius.logrotate on Debian's 2.1.10+dfsg-2, by Josip Rodin . Relevant changelog from Debian's 2.1.10+dfsg-2 changelog: Since 2.1.9, the daemon stopped reopening the default radius.log file constantly, which means the default logrotate setup breaks the default logging. D'oh. We now have to send SIGHUP to the daemon as a postrotate action, which makes it reopen log files and continue normally. * Added delaycompress to the logrotate options, just to be on the safe side. * Added a reload action into the init script accordingly, so that the right pidfile is picked up (one that can be overridden by the admin in /etc/default/freeradius, available since the last release). * Called reload from the postrotate section, closes: #602815. --- diff --git a/debian/freeradius.logrotate b/debian/freeradius.logrotate index 1be995aee73..b8483e2fd47 100644 --- a/debian/freeradius.logrotate +++ b/debian/freeradius.logrotate @@ -2,6 +2,10 @@ weekly rotate 52 compress + delaycompress notifempty + missingok + postrotate + /etc/init.d/freeradius reload > /dev/null + endscript } -