Skip to content
Snippets Groups Projects
Commit 13f23b70 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

kill nginx on windows properly

parent d2b6bf24
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ job "nginx_kill" {
driver = "raw_exec"
config {
command = "taskkill",
args = ["/f","/im","nginx_exe.exe"]
args = ["/f","/im","nginx.exe"]
}
}
}
......
......@@ -20,6 +20,19 @@ c:\opt\consul\nomad run nginx.nmd
ping 1.0.0.0 -n 10 -w 100 > nul
set i=0
:repeat
set /a i=%i%+1
echo %i%
if %i% EQU 20 (
goto :error
)
timeout /t 1
curl --fail 127.0.0.1:8400/asapo-discovery/asapo-receiver || goto :repeat
curl --fail 127.0.0.1:8400/asapo-discovery/asapo-broker|| goto :repeat
echo discovery ready
REM producer
mkdir %receiver_folder%
"%1" %proxy_address% %beamtime_id% 100 0 1 0 1000
......
worker_processes 1;
daemon off;
events {
worker_connections 1024;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment