debian/cubicweb-ctl.logrotate
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Mon, 26 Jan 2015 18:05:24 +0100
changeset 10196 20d56b1f035e
parent 5840 60880c81e32e
permissions -rw-r--r--
[backup/portable] properly write the eid numrange generator (the eid is no more a sequence) Bump format version to 1.1. Related to #4870338

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