debian/cubicweb-ctl.logrotate
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Wed, 15 May 2013 16:09:31 +0200
changeset 9076 7743e7b29635
parent 5840 60880c81e32e
permissions -rw-r--r--
[connection] give access to session execute from connection This allows multiple function that both requires an execute method and are required by the execute method.

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