debian/cubicweb-ctl.logrotate
author Vladimir Popescu <vladimir.popescu@logilab.fr>
Fri, 18 Jan 2013 16:40:11 +0100
changeset 8658 11707295d4e6
parent 5840 60880c81e32e
permissions -rw-r--r--
[doc/book/] Corrected typo in en/tutorials/base/customizing-the-application.rst, for the add_cubes function call

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