debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 30 Jul 2010 10:09:31 +0200
changeset 6041 31776723c0c5
parent 5840 60880c81e32e
permissions -rw-r--r--
[index page] refactor add_entity_link: no need to give request, nicer to check perm before calling the method, and use the new create url factory

/var/log/cubicweb/*.log {
        weekly
        missingok
        rotate 10
        compress
        delaycompress
        notifempty
        create 640 root adm
        sharedscripts
        postrotate
           if [ -x /usr/sbin/invoke-rc.d ]; then \
              invoke-rc.d cubicweb reload > /dev/null 2>&1; \
           else \
              /etc/init.d/cubicweb reload > /dev/null 2>&1; \
           fi; \
        endscript
}