debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 08 Mar 2011 17:55:15 +0100
branchstable
changeset 7054 c8f12ab250b7
parent 5840 60880c81e32e
permissions -rw-r--r--
Add a "closed" property on session This will simplify check and allow nicer error thatn the current "no _tx_data" attribute error.

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