debian/cubicweb-ctl.logrotate
author Alexandre Richardson <alexandre.richardson@logilab.fr>
Tue, 12 Jan 2016 17:36:28 +0100
changeset 11168 dfa5f8879e8f
parent 5840 60880c81e32e
permissions -rw-r--r--
[rset] refactoring of _build_entity method define a method for entity instantiation and storage in cache (related to #9942503)

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