31 Oct
2003
31 Oct
'03
12:21
On 10/31/03 09:50:29, Olsson Mattias wrote:
We specify the rotation of the logfile maillog as follows:
/var/log/maillog { rotate 7 daily compress postrotate /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true endscript }
The original SuSE's '/etc/logrotate.d/syslog' has: /var/log/mail { compress dateext maxage 365 rotate 99 missingok notifempty size +4096k create 640 root root sharedscripts postrotate /etc/init.d/syslog reload endscript } Notice the 'syslog reload': that's all you need. -- Cheers, Carlos Robinson