/var/log/pkg-cacher/*.log {
        monthly
        missingok
        rotate 12
        compress
        delaycompress
        notifempty
        create
	postrotate
		if [ -f /var/run/pkg-cacher.pid ]; then
	                invoke-rc.d --quiet pkg-cacher restart > /dev/null 2>&1
		fi
	endscript
}
