debian/cubicweb-ctl.cubicweb.init
branchstable
changeset 3001 74e842e4871a
parent 858 e6ae125d5903
child 6803 691dac4c6a05
equal deleted inserted replaced
3000:4e76477949d5 3001:74e842e4871a
    20 #     E: cubicweb-ctl: init.d-script-does-not-implement-required-option /etc/init.d/cubicweb start
    20 #     E: cubicweb-ctl: init.d-script-does-not-implement-required-option /etc/init.d/cubicweb start
    21 #
    21 #
    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         /usr/bin/cubicweb-ctl reload --force
    28 		;;
    28         ;;
    29 	"*|restart")
    29     status)
    30 		/usr/bin/cubicweb-ctl $1 --force
    30         /usr/bin/cubicweb-ctl status
    31 		;;
    31         ;;
       
    32     *)
       
    33         /usr/bin/cubicweb-ctl $1 --force
       
    34         ;;
    32 esac
    35 esac