29 Dec
2009
29 Dec
'09
11:09 p.m.
On Sun, 2009-12-27 at 23:02 -0800, Beto Moreno wrote:
postrotate /bin/kill -USR1
cat /var/run/dovecot/master.pid 2>/dev/null
2> /dev/null || true endscript }Well, my question is simple, Do we need to restart the service each time logrotation runs?
If you've configured log_path in Dovecot, you need to run the postrotate kill command above. It doesn't restart Dovecot, it just makes Dovecot reopen the log file.