# Logrotate configuration file fo Zope Debian package

"/var/log/plone/%INSTANCE_NAME%/*/*.log" {
    weekly
    missingok
    rotate 52
    copytruncate
    compress                                                      
    delaycompress
    notifempty
    create
    sharedscripts
    postrotate
    sh -c '[ -x "/etc/init.d/plone3-%INSTANCE_NAME%" ] && /etc/init.d/plone3-%INSTANCE_NAME% logreopen'
    endscript
}

