debian/cubicweb-ctl.logrotate
author Alain Leufroy <alain.leufroy@logilab.fr>
Fri, 15 Oct 2010 19:48:58 +0200
branchstable
changeset 6516 6b2e1e8d3a22
parent 5840 60880c81e32e
permissions -rw-r--r--
[pkg] use argument *package_data* Use the dedicaded setup's argument for files that are copied in the package directory.

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