debian/cubicweb-ctl.logrotate
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 13 Feb 2012 12:47:59 +0100
branchstable
changeset 8226 a3d3bdd46463
parent 5840 60880c81e32e
permissions -rw-r--r--
[devtools] Use Xvfb to run firefox in js tests on posix platforms This way we don't require running tests under X.

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