debian/cubicweb-ctl.logrotate
author Samuel Trégouët <samuel.tregouet@logilab.fr>
Thu, 03 Dec 2015 14:55:10 +0100
changeset 10984 a42f6e7cef35
parent 5840 60880c81e32e
permissions -rw-r--r--
[dataimport] prepare_insert_entity should not crash with SQLGenObjectStore grafted from 1079d68130e1e780791ceb2050e8a8b7a910f48d (3.22) related to #9177565.

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