debian/cubicweb-ctl.logrotate
changeset 0 b97547f5f1fa
child 5806 9ef0e95f4d2b
equal deleted inserted replaced
-1:000000000000 0:b97547f5f1fa
       
     1 /var/log/cubicweb/*.log {
       
     2         weekly
       
     3         missingok
       
     4         rotate 10
       
     5         compress
       
     6         delaycompress
       
     7         notifempty
       
     8         create 640 root adm
       
     9         sharedscripts
       
    10         postrotate
       
    11            if [ -x /usr/sbin/invoke-rc.d ]; then \
       
    12               invoke-rc.d cubicweb reload > /dev/null; \
       
    13            else \
       
    14               /etc/init.d/cubicweb reload > /dev/null; \
       
    15            fi; \
       
    16         endscript
       
    17 }