debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 25 Mar 2011 15:45:38 +0100
branchstable
changeset 7112 bb27cc300040
parent 5840 60880c81e32e
permissions -rw-r--r--
[db connection] fix db connections method: verbose should be named interactive, it's not a question of verbosity but wether question should be asked or not

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