aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot/dovecot.logrotate
blob: 7bd0003f7fb32329515959411f1548d1a71fe13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/var/log/dovecot*.log {
	daily
	missingok
	copytruncate
	rotate 7
	compress
	notifempty
	sharedscripts
	postrotate
	  if /etc/init.d/dovecot -q status ; then \
                /etc/init.d/dovecot reload > /dev/null 2>&1 || true ; \
	  fi;
	endscript
}