debian/cubicweb-ctl.logrotate
author David Douard <david.douard@logilab.fr>
Wed, 12 Nov 2014 22:18:55 +0100
changeset 10040 2ddeece84808
parent 5840 60880c81e32e
permissions -rw-r--r--
[web] partial backout of #8391bf718485 to restore RelatedObjectsVComponent Apparently the intended deprecation did not work, and this component is used in at least the tracker cube.

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