debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 16 Mar 2012 17:59:48 +0100
branchstable
changeset 8317 9c59258e7798
parent 5840 60880c81e32e
permissions -rw-r--r--
[security] use a stronger encryption algorythm for password, keeping bw compat Administrator should ask their users to reenter new password so they benefit from the new encryption. Also, new encryption is cross-platform compatible, eg you may now move an instance from windows to linux painlessly

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