debian/cubicweb-ctl.logrotate
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 23 May 2013 18:57:25 +0200
changeset 8984 0f2fad7a92d4
parent 5840 60880c81e32e
permissions -rw-r--r--
[cw-ctl] fix help message for schemadiff In global help (closes #2888538) The leading space make it appears on multiple line. The help content is a bit improved in the process.

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