debian/cubicweb-ctl.logrotate
author Alain Leufroy <alain@leufroy.fr>
Thu, 15 May 2014 23:18:17 +0200
changeset 10106 3117f1736f00
parent 5840 60880c81e32e
permissions -rw-r--r--
[wsgi] add tornado http server

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