debian/cubicweb-ctl.logrotate
author David Douard <david.douard@logilab.fr>
Fri, 26 Jul 2013 09:47:22 +0200
changeset 9190 b922929badba
parent 5840 60880c81e32e
permissions -rw-r--r--
Added tag cubicweb-centos-version-3.17.1-2 for changeset 965f894b63cb

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