From 46d9a56832fb8ef67cf839baaac223a73d49fbf4 Mon Sep 17 00:00:00 2001 From: PgmJun Date: Thu, 7 Dec 2023 00:43:24 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F:=20fix=20=EC=95=A0=ED=94=8C?= =?UTF-8?q?=EB=A6=AC=EC=BC=80=EC=9D=B4=EC=85=98=20=EC=8B=A4=ED=96=89=20?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=EB=82=A8=EA=B8=B0=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20#49?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/run_new_was.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run_new_was.sh b/scripts/run_new_was.sh index 9d50e6b..1002cf1 100644 --- a/scripts/run_new_was.sh +++ b/scripts/run_new_was.sh @@ -22,11 +22,11 @@ if [ ! -z ${TARGET_PID} ]; then fi if [ ${HOST_NAME} == "core-prod-server" ]; then - nohup java -jar -Dserver.port=${TARGET_PORT} -Duser.timezone=Asia/Seoul -Dspring.profiles.active=prod /home/ubuntu/api-server/*.jar + nohup java -jar -Dserver.port=${TARGET_PORT} -Duser.timezone=Asia/Seoul -Dspring.profiles.active=prod /home/ubuntu/api-server/*.jar >> /home/ubuntu/api-server/deploy.log 2>/home/ubuntu/api-server/deploy_err.log & echo "[$NOW_TIME] Now new WAS runs at ${TARGET_PORT}." exit 0 else - nohup java -jar -Dserver.port=${TARGET_PORT} -Duser.timezone=Asia/Seoul -Dspring.profiles.active=dev /home/ubuntu/api-server/*.jar + nohup java -jar -Dserver.port=${TARGET_PORT} -Duser.timezone=Asia/Seoul -Dspring.profiles.active=dev /home/ubuntu/api-server/*.jar >> /home/ubuntu/api-server/deploy.log 2>/home/ubuntu/api-server/deploy_err.log & echo "[$NOW_TIME] Now new WAS runs at ${TARGET_PORT}." exit 0 fi