debian/cubicweb-ctl.logrotate
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 29 Jan 2016 16:48:58 +0100
changeset 11085 2c0541b6803f
parent 5840 60880c81e32e
permissions -rw-r--r--
[skeleton] Restore verbose output in setup.py This part of commit fdadf59be612 missing the integration window.

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