/var/log/asterisk/ucp_*.log {
	size 50M
	missingok
	rotate 5
	dateext
	dateformat -%Y%m%d%s
	notifempty
	dateext
	sharedscripts
	create 0640 asterisk asterisk
	su asterisk asterisk
	postrotate
		/usr/sbin/fwconsole pm2 --reload-logs -q
	endscript
}
