debian/cubicweb-ctl.logrotate
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 25 Oct 2011 13:51:27 +0200
changeset 8016 1a1b23c37013
parent 5840 60880c81e32e
permissions -rw-r--r--
[tableview,jsoncontroller] the json controller must check view.handle_pagination as well & the old table view also handles pagination internally

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