debian/cubicweb-ctl.logrotate
branchstable
changeset 5841 4cbcfed90905
parent 5806 9ef0e95f4d2b
equal deleted inserted replaced
5839:53cbdc5e0426 5841:4cbcfed90905
     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 2> &1; \
    12               invoke-rc.d cubicweb reload > /dev/null 2>&1; \
    13            else \
    13            else \
    14               /etc/init.d/cubicweb reload > /dev/null 2> &1; \
    14               /etc/init.d/cubicweb reload > /dev/null 2>&1; \
    15            fi; \
    15            fi; \
    16         endscript
    16         endscript
    17 }
    17 }