debian/cubicweb-ctl.logrotate
author Vladimir Popescu <vladimir.popescu@logilab.fr>
Fri, 19 Jul 2013 17:38:15 +0200
changeset 9687 00c2356faba7
parent 5840 60880c81e32e
permissions -rw-r--r--
[server] Refactor Repository.register_user into a CubicWeb service (closes #3020639) [jcr: move commit to the caller; add item in release notes; fix NameErrors]

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