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'