equal
deleted
inserted
replaced
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 |