debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 06 Jul 2010 09:41:19 +0200
changeset 5897 0c6f2f866202
parent 5840 60880c81e32e
permissions -rw-r--r--
[migration] fix rename_entity_type to an existant entity type: get back relation from the old entity type non existant on the target type

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