This commit applies changes to debian/freeradius.logrotate on Debian's
2.1.10+dfsg-2, by Josip Rodin <joy-packages@debian.org>.
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.
weekly
rotate 52
compress
+ delaycompress
notifempty
+ missingok
+ postrotate
+ /etc/init.d/freeradius reload > /dev/null
+ endscript
}
-