Update alphax
This commit is contained in:
parent
16b800493a
commit
054cb41433
1 changed files with 6 additions and 6 deletions
|
@ -32,23 +32,23 @@ stop_nginx() {
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
log_daemon_msg "Starting $NGINX_DESC" "$NGINX_NAME"
|
|
||||||
start_nginx
|
start_nginx
|
||||||
log_end_msg $?
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
stop)
|
stop)
|
||||||
log_daemon_msg "Stopping $NGINX_DESC" "$NGINX_NAME"
|
|
||||||
stop_nginx
|
stop_nginx
|
||||||
log_end_msg $?
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
restart | force-reload | reload | configtest | testconfig)
|
restart | force-reload | reload | configtest | testconfig)
|
||||||
log_daemon_msg "Restarting $NGINX_DESC" "$NGINX_NAME"
|
|
||||||
stop_nginx
|
stop_nginx
|
||||||
sleep 1
|
sleep 1
|
||||||
start_nginx
|
start_nginx
|
||||||
log_end_msg $?
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
status)
|
status)
|
||||||
|
|
Loading…
Reference in a new issue