debian/cubicweb-ctl.logrotate
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 06 Dec 2013 17:20:59 +0100
branchstable
changeset 9339 cf27006ce813
parent 5840 60880c81e32e
permissions -rw-r--r--
Added tag cubicweb-centos-version-3.17.11-1, cubicweb-version-3.17.11, cubicweb-debian-version-3.17.11-1 for changeset 7f67db7c848e

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