debian/cubicweb-ctl.logrotate
author Damien Garaud <damien.garaud@logilab.fr>
Fri, 08 Aug 2014 13:05:07 +0200
changeset 9977 e48e5a597ccc
parent 5840 60880c81e32e
permissions -rw-r--r--
[views] csvexport accept an empty rset (closes #4236928) When you tried to apply the 'csvexport' view on an empty rset, the view couldn't be selected and you got a HTTP 500 error. Also add two new test cases.

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