debian/cubicweb-ctl.logrotate
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 12 Jul 2013 10:39:01 +0200
branchstable
changeset 9166 e47e192ea0d9
parent 5840 60880c81e32e
permissions -rw-r--r--
Do not compute actions list in TableLayout view when display_actions attribute is unset Closes #3007281

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