From 756695d0a5d8ab91eab0b18599ae0338a399d5c6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 29 Oct 2020 11:54:10 +0800 Subject: [PATCH] 1 --- scripts/publish_golang/restart.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/publish_golang/restart.sh b/scripts/publish_golang/restart.sh index 6af88e4..faa8586 100755 --- a/scripts/publish_golang/restart.sh +++ b/scripts/publish_golang/restart.sh @@ -12,6 +12,7 @@ else echo "pid 为空" fi +cd bin nohup ./${PROJECT_NAME} -n $2 -i $1 >> ${PROJECT_NAME}$2_$1.out & echo 'success'