debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 30 Jan 2012 20:56:00 +0100
branchstable
changeset 8185 864fc1f147a4
parent 5840 60880c81e32e
permissions -rw-r--r--
[js, i18n] translated strings should use " not ' else they are discarded by xgettext. Closes #1892489

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