From 9f7312e01bb67a9b405eee71ff51aab9229f7e88 Mon Sep 17 00:00:00 2001 From: dracoding Date: Wed, 11 Oct 2023 03:33:47 +0000 Subject: [PATCH] fix: rename the method name to start_app in start.sh script Signed-off-by: dracoding --- script/server/0_sysom_api/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/server/0_sysom_api/start.sh b/script/server/0_sysom_api/start.sh index 953f2cb9..d0a65015 100755 --- a/script/server/0_sysom_api/start.sh +++ b/script/server/0_sysom_api/start.sh @@ -1,10 +1,10 @@ #!/bin/bash SERVICE_NAME=sysom-api -stop_app() { +start_app() { for service in `supervisorctl status | grep ${SERVICE_NAME} | awk '{print $1}'` do supervisorctl start $service done } -stop_app +start_app -- Gitee