From c31769a7463eac8c6842f6ec65e9be28bc44e76c Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Mon, 23 Feb 2026 08:14:29 -0500 Subject: [PATCH] chore: standardize deploy script to match template Remove unused $PublishTimeoutSeconds param. Add sc.exe description for service metadata. Co-Authored-By: Claude Opus 4.6 --- scripts/Deploy-CutListWeb.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Deploy-CutListWeb.ps1 b/scripts/Deploy-CutListWeb.ps1 index 32cafe6..212367b 100644 --- a/scripts/Deploy-CutListWeb.ps1 +++ b/scripts/Deploy-CutListWeb.ps1 @@ -17,7 +17,6 @@ Param( [string]$InstallDir = "C:\Services\CutListWeb", [string]$Urls = "http://*:5270", [switch]$OpenFirewall, - [int]$PublishTimeoutSeconds = 180, [int]$ServiceStopTimeoutSeconds = 30, [int]$ServiceStartTimeoutSeconds = 30 ) @@ -103,6 +102,7 @@ function Create-Service($name, $bin, $urls) { sc.exe create $name binPath= "$binPath" start= auto DisplayName= "$name" | Out-Null # Set recovery to restart on failure sc.exe failure $name reset= 86400 actions= restart/60000/restart/60000/restart/60000 | Out-Null + sc.exe description $name 'CutList bin packing web application' | Out-Null } function Start-ServiceSafe($name) {