debian/cubicweb-ctl.cubicweb.init
branchstable
changeset 6803 691dac4c6a05
parent 3001 74e842e4871a
child 6917 e080e7465ac4
equal deleted inserted replaced
6802:ff9059e144f9 6803:691dac4c6a05
    22 # Check if we are sure to not want the start-stop-daemon machinery here
    22 # Check if we are sure to not want the start-stop-daemon machinery here
    23 # Refer to Debian Policy Manual section 9.3.2 (Writing the scripts) for details.
    23 # Refer to Debian Policy Manual section 9.3.2 (Writing the scripts) for details.
    24 
    24 
    25 case $1 in
    25 case $1 in
    26     force-reload)
    26     force-reload)
    27         /usr/bin/cubicweb-ctl reload --force
    27         python -W ignore /usr/bin/cubicweb-ctl reload --force
    28         ;;
    28         ;;
    29     status)
    29     status)
    30         /usr/bin/cubicweb-ctl status
    30         python -W ignore /usr/bin/cubicweb-ctl status
    31         ;;
    31         ;;
    32     *)
    32     *)
    33         /usr/bin/cubicweb-ctl $1 --force
    33         python -W ignore /usr/bin/cubicweb-ctl $1 --force
    34         ;;
    34         ;;
    35 esac
    35 esac