/var/log/jabber/*.log {
	su jabber jabber
	weekly
	rotate 4
	missingok
	nocreate
	sharedscripts
	notifempty
	compress
	postrotate
		/usr/sbin/ejabberdctl reopen-log > /dev/null 2>&1 || true
	endscript
}