nssm status
This commit is contained in:
@@ -30,7 +30,7 @@ goto proceed
|
||||
|
||||
:installnssm
|
||||
echo Downloading NSSM
|
||||
curl.exe --output "%TEMP%\nssm-2.24.zip" --url https://nssm.cc/release/nssm-2.24.zip >nul 2>&1
|
||||
curl.exe --output "%TEMP%\nssm-2.24.zip" --url https://nssm.cc/ci/nssm-2.24-101-g897c7ad.zip >nul 2>&1
|
||||
echo Extracting ZIP file
|
||||
tar.exe -xf %TEMP%\nssm-2.24.zip >nul 2>&1
|
||||
echo Copying nssm.exe to %DESTINATIONDIR%
|
||||
@@ -67,8 +67,9 @@ if %errorlevel% NEQ 0 (
|
||||
echo Check output above.
|
||||
)
|
||||
|
||||
echo Dumping service state
|
||||
%NSSMEXE% dump %SERVICENAME%
|
||||
echo Display service state
|
||||
echo Check %SERVICENAME% status
|
||||
%NSSMEXE% status %SERVICENAME%
|
||||
goto end
|
||||
|
||||
:help
|
||||
|
Reference in New Issue
Block a user