From 054cb41433d9be1543e3af1f56dc6c8efe186b6f Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sat, 25 Nov 2023 14:44:31 +0200 Subject: [PATCH] Update alphax --- compilators/debian/nginx/alphax | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compilators/debian/nginx/alphax b/compilators/debian/nginx/alphax index a034960..2d9c85f 100644 --- a/compilators/debian/nginx/alphax +++ b/compilators/debian/nginx/alphax @@ -32,23 +32,23 @@ stop_nginx() { case "$1" in start) - log_daemon_msg "Starting $NGINX_DESC" "$NGINX_NAME" + start_nginx - log_end_msg $? + ;; stop) - log_daemon_msg "Stopping $NGINX_DESC" "$NGINX_NAME" + stop_nginx - log_end_msg $? + ;; restart | force-reload | reload | configtest | testconfig) - log_daemon_msg "Restarting $NGINX_DESC" "$NGINX_NAME" + stop_nginx sleep 1 start_nginx - log_end_msg $? + ;; status)