debian/cubicweb-ctl.logrotate
author David Douard <david.douard@logilab.fr>
Wed, 24 Jul 2013 13:59:08 +0200
branchstable
changeset 9183 95e69c2d52a9
parent 5840 60880c81e32e
permissions -rw-r--r--
[doc] one must now manipulate the req.session.data dict (closes #2842345) instead of deprecated get/set/del_session_data methods.

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