debian/cubicweb-ctl.logrotate
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 07 Apr 2014 15:57:47 +0200
branchstable
changeset 9634 e01121bbd4fe
parent 5840 60880c81e32e
permissions -rw-r--r--
Added tag cubicweb-version-3.18.4, cubicweb-debian-version-3.18.4-1, cubicweb-centos-version-3.18.4-1 for changeset 0176da9bc752

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