From 88f256a921be211cc8a1b18e4c2cdbc23afe1faa Mon Sep 17 00:00:00 2001 From: leedonggyu Date: Fri, 30 Dec 2022 16:41:50 +0900 Subject: [PATCH 1/2] Update run.sh --- docker/controller/scripts/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/controller/scripts/run.sh b/docker/controller/scripts/run.sh index 1854f0a443..a88dc4ea0f 100755 --- a/docker/controller/scripts/run.sh +++ b/docker/controller/scripts/run.sh @@ -4,4 +4,4 @@ mvn -version gradle -version echo "Wait a while extracting war files... It takes time for the first run." -java -jar ${BASE_DIR}/ngrinder-*.war --port 80 +java -jar -Djava.io.tmpdir=${NGRINDER_HOME}/lib ${BASE_DIR}/ngrinder-*.war --port 80 From ebd2194969b26807898b5eee347cac0b7d4581aa Mon Sep 17 00:00:00 2001 From: leedonggyu Date: Fri, 30 Dec 2022 16:54:02 +0900 Subject: [PATCH 2/2] Update prepare.sh --- docker/prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/prepare.sh b/docker/prepare.sh index 2ba3c37db6..529cada543 100755 --- a/docker/prepare.sh +++ b/docker/prepare.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash echo "copying ngrinder-controller" mkdir -p controller/binary -rm controller/binary/ngrinder* +rm -rf controller/binary/ngrinder* cp ../ngrinder-controller/build/libs/*.war controller/binary/