aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/scripts/asterisk.logrotate
blob: f83257060ad686472fcbbe9a8309ed647023ba6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/var/log/asterisk/debug /var/log/asterisk/console /var/log/asterisk/full /var/log/asterisk/debug /var/log/asterisk/*log {
	weekly
	missingok
	rotate 52
	compress
	delaycompress
	notifempty
	create 640 root root 
	sharedscripts
	postrotate
		/usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null	
	endscript
}