debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 09 Jul 2012 09:47:28 +0200 (2012-07-09)
changeset 8455 b5b263f1ad67
parent 5840 60880c81e32e
permissions -rw-r--r--
[ui] actions box should be displayed if there are some actions, not if context is an entity. Closes #2419040
/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
}