debian/cubicweb-ctl.logrotate
author David Douard <david.douard@logilab.fr>
Mon, 29 Jul 2013 14:22:40 +0200 (2013-07-29)
branchstable
changeset 9193 eaa58d1c7d5f
parent 5840 60880c81e32e
permissions -rw-r--r--
[pkg] python-central has been removed from Debian
/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
}