nssm status

This commit is contained in:
2025-01-20 14:32:35 +01:00
parent 0ecaefeb10
commit c4c5f2841c

View File

@@ -30,7 +30,7 @@ goto proceed
:installnssm :installnssm
echo Downloading NSSM 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 echo Extracting ZIP file
tar.exe -xf %TEMP%\nssm-2.24.zip >nul 2>&1 tar.exe -xf %TEMP%\nssm-2.24.zip >nul 2>&1
echo Copying nssm.exe to %DESTINATIONDIR% echo Copying nssm.exe to %DESTINATIONDIR%
@@ -67,8 +67,9 @@ if %errorlevel% NEQ 0 (
echo Check output above. echo Check output above.
) )
echo Dumping service state echo Display service state
%NSSMEXE% dump %SERVICENAME% echo Check %SERVICENAME% status
%NSSMEXE% status %SERVICENAME%
goto end goto end
:help :help