debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 13 Jul 2010 08:11:02 +0200
changeset 5964 9bd75af3dca3
parent 5840 60880c81e32e
permissions -rw-r--r--
Added tag cubicweb-version-3.9.1 for changeset 4d75f743ed49

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