Initial Windows agent repository
This commit is contained in:
commit
a0db0c2e5b
10589 changed files with 3844063 additions and 0 deletions
20
OGP64/agent_stop.bat
Normal file
20
OGP64/agent_stop.bat
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
@echo off
|
||||
setlocal
|
||||
|
||||
set "WD=%~dp0"
|
||||
pushd "%WD%"
|
||||
|
||||
set "PATH=%WD%bin;%WD%usr\sbin;%PATH%"
|
||||
|
||||
echo Stopping GSP Windows Agent...
|
||||
|
||||
if exist "%WD%var\run\pure-ftpd.pid" set /p PID1=<"%WD%var\run\pure-ftpd.pid"
|
||||
if exist "%WD%OGP\ogp_agent.pid" set /p PID2=<"%WD%OGP\ogp_agent.pid"
|
||||
if exist "%WD%OGP\ogp_agent_run.pid" set /p PID3=<"%WD%OGP\ogp_agent_run.pid"
|
||||
|
||||
if not "%PID1%"=="" "%WD%bin\kill.exe" -15 %PID1%
|
||||
if not "%PID2%"=="" "%WD%bin\kill.exe" -15 %PID2%
|
||||
if not "%PID3%"=="" "%WD%bin\kill.exe" -15 %PID3%
|
||||
|
||||
echo Done.
|
||||
pause
|
||||
Loading…
Add table
Add a link
Reference in a new issue