debian/cubicweb-ctl.logrotate
branch3.24
changeset 11832 e8be49ecb522
parent 11831 d1fbe53885e9
child 11833 1212f0fa2d42
equal deleted inserted replaced
11831:d1fbe53885e9 11832:e8be49ecb522
     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 2>&1; \
       
    13            else \
       
    14               /etc/init.d/cubicweb reload > /dev/null 2>&1; \
       
    15            fi; \
       
    16         endscript
       
    17 }