diff --git a/install-beszel-service.cmd b/install-beszel-service.cmd index 93adf6d..8fa5f6f 100644 --- a/install-beszel-service.cmd +++ b/install-beszel-service.cmd @@ -67,10 +67,9 @@ if %errorlevel% NEQ 0 ( echo Check output above. ) -echo Display service status echo NSSM dump: %NSSMEXE% dump %SERVICENAME% -echo Wait 5 seconds, check service status +echo Wait 5 seconds, then check service status ping 127.0.0.1 -n 5 >nul 2>&1 %NSSMEXE% status %SERVICENAME% goto end