debian/cubicweb-ctl.logrotate
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Sat, 09 Oct 2010 00:38:02 +0200
changeset 6428 de95bbed8781
parent 5840 60880c81e32e
permissions -rw-r--r--
[components] refactor main template header: make it much more flexible by using CtxComponent * rename userlink class (not private) with somewhat bw compat * make some cosmetic adjustements on log-in/registration components * update to component api, though this may breaks some sub-classes (for application customizing the breadcrumbs component for instance)

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