debian/cubicweb-ctl.logrotate
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Mon, 24 Oct 2011 08:55:07 +0200
changeset 8009 75638a6ff159
parent 5840 60880c81e32e
permissions -rw-r--r--
[tableview,basetemplates,pagination] some views internally handle the pagination, in which case the base template should not try to paginate

/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
}