debian/cubicweb-ctl.logrotate
branchstable
changeset 5806 9ef0e95f4d2b
parent 0 b97547f5f1fa
child 5840 60880c81e32e
equal deleted inserted replaced
5805:560cde8a4f9f 5806:9ef0e95f4d2b
     7         notifempty
     7         notifempty
     8         create 640 root adm
     8         create 640 root adm
     9         sharedscripts
     9         sharedscripts
    10         postrotate
    10         postrotate
    11            if [ -x /usr/sbin/invoke-rc.d ]; then \
    11            if [ -x /usr/sbin/invoke-rc.d ]; then \
    12               invoke-rc.d cubicweb reload > /dev/null; \
    12               invoke-rc.d cubicweb reload > /dev/null 2> &1; \
    13            else \
    13            else \
    14               /etc/init.d/cubicweb reload > /dev/null; \
    14               /etc/init.d/cubicweb reload > /dev/null 2> &1; \
    15            fi; \
    15            fi; \
    16         endscript
    16         endscript
    17 }
    17 }