debian/cubicweb-ctl.logrotate
author Florent Cayré <florent.cayre@gmail.com>
Sun, 06 Nov 2016 16:43:27 +0100
branch3.24
changeset 11806 5fdc92be3ba7
parent 5840 60880c81e32e
permissions -rw-r--r--
[doc] Add some words in changelog about pyramid support in core + fix its title Closes #16121152.

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