debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 06 Oct 2011 16:14:08 +0200
changeset 7913 d0c6a7993cec
parent 5840 60880c81e32e
permissions -rw-r--r--
[web, formatting] move Interval data type display logic from final view to printable_value (closes #1984742) also, fix implementation so that negative time delta are properly considered

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