debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 12 Aug 2010 10:11:49 +0200 (2010-08-12)
branchstable
changeset 6101 1aff7367a20c
parent 5840 60880c81e32e
permissions -rw-r--r--
[form, migration] etype_relation_field should not raise error, it may block migration if used for a non yet existing field
/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
}