debian/cubicweb-ctl.logrotate
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 06 Mar 2014 18:41:23 +0100
branchstable
changeset 9698 737983d87497
parent 5840 60880c81e32e
permissions -rw-r--r--
[migractions] add sanity check in rename_relation_type If the relation is still present in the fs schema, we probably shouldn't be renaming it (because it's still in use somewhere, possibly in a different cube). Closes #3608172

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