diff --git a/server/tools/scripts/ci/wsproxy/restart.sh b/server/tools/scripts/ci/wsproxy/restart.sh index 7d3ed21..29fb070 100755 --- a/server/tools/scripts/ci/wsproxy/restart.sh +++ b/server/tools/scripts/ci/wsproxy/restart.sh @@ -1,5 +1,7 @@ #!/bin/bash +source ./common.sh + python manage.py restart $1 $2 echo 'success' diff --git a/server/tools/scripts/ci/wsproxy/start_instance.sh b/server/tools/scripts/ci/wsproxy/start_instance.sh index 0e8bc81..125ded7 100755 --- a/server/tools/scripts/ci/wsproxy/start_instance.sh +++ b/server/tools/scripts/ci/wsproxy/start_instance.sh @@ -1,4 +1,6 @@ #!/bin/bash +source ./common.sh + cd bin -nohup ./$3 -i $1 -n $2 >> $3$2_$1.out 2>&1 & +nohup ./${PROJECT_NAME} -i $1 -n $2 >> ${PROJECT_NAME}$2_$1.out 2>&1 &