From f3606631a001bcc97527a4e3e0d2e1ecb3783c6c Mon Sep 17 00:00:00 2001 From: elpatron Date: Wed, 22 Jan 2025 11:10:52 +0100 Subject: [PATCH] Check status --- install-beszel-service.cmd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install-beszel-service.cmd b/install-beszel-service.cmd index 6ac8ea4..93adf6d 100644 --- a/install-beszel-service.cmd +++ b/install-beszel-service.cmd @@ -67,8 +67,11 @@ if %errorlevel% NEQ 0 ( echo Check output above. ) -echo Display service state -echo Check %SERVICENAME% status +echo Display service status +echo NSSM dump: +%NSSMEXE% dump %SERVICENAME% +echo Wait 5 seconds, check service status +ping 127.0.0.1 -n 5 >nul 2>&1 %NSSMEXE% status %SERVICENAME% goto end