debian/cubicweb-ctl.logrotate
author Florent Cayre <florent.cayre@logilab.fr>
Mon, 15 Jul 2013 17:34:54 +0200
branchstable
changeset 9156 3125d8a13b03
parent 5840 60880c81e32e
permissions -rw-r--r--
Added tag cubicweb-centos-version-3.16.6-1, cubicweb-debian-version-3.16.6-1, cubicweb-version-3.16.6 for changeset b4ccaf13081d

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