Update bin/install_ddnsupdater_service.bat
This commit is contained in:
parent
396d15312a
commit
f7ebac78a7
@ -25,17 +25,17 @@ IF NOT EXIST "%NSSM_PATH%" (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM Remove existing service if present
|
REM Remove existing service if present
|
||||||
"%NSSM_PATH%" remove DDNSUpdaterService confirm
|
"%NSSM_PATH%" remove TrizTechDDNSUpdaterService confirm
|
||||||
|
|
||||||
REM Install service
|
REM Install service
|
||||||
"%NSSM_PATH%" install DDNSUpdaterService "%EXE_PATH%"
|
"%NSSM_PATH%" install TrizTechDDNSUpdaterService "%EXE_PATH%"
|
||||||
|
|
||||||
REM Optional: auto-start at boot
|
REM Optional: auto-start at boot
|
||||||
"%NSSM_PATH%" set DDNSUpdaterService Start SERVICE_AUTO_START
|
"%NSSM_PATH%" set TrizTechDDNSUpdaterService Start SERVICE_AUTO_START
|
||||||
|
|
||||||
REM Start the service
|
REM Start the service
|
||||||
"%NSSM_PATH%" start DDNSUpdaterService
|
"%NSSM_PATH%" start TrizTechDDNSUpdaterService
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo DDNSUpdaterService installed and started successfully!
|
echo TrizTechDDNSUpdaterService installed and started successfully!
|
||||||
pause
|
pause
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user