debian/cubicweb-ctl.logrotate
author David Douard <david.douard@logilab.fr>
Tue, 02 Sep 2014 12:22:18 +0200
branchstable
changeset 9928 0d831b40fa48
parent 5840 60880c81e32e
permissions -rw-r--r--
[compat] Remove imports of "any" and "all" from lgc (closes #4306044) They're builtin since python 2.5.

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