debian/cubicweb-ctl.logrotate
author Florent Cayré <florent.cayre@logilab.fr>
Mon, 14 Nov 2016 17:48:10 +0100
branch3.24
changeset 11816 6392f34fcdad
parent 5840 60880c81e32e
permissions -rw-r--r--
[pyramid] Fix login error message language Use http negotiation unless language is explicitly set for the site. Closes #16236485.

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