diff --git a/scripts/Deploy-PepApi.ps1 b/scripts/Deploy-PepApi.ps1 index 92d4193..243b7a6 100644 --- a/scripts/Deploy-PepApi.ps1 +++ b/scripts/Deploy-PepApi.ps1 @@ -23,7 +23,6 @@ Param( [string]$Domain, [string]$User, [switch]$UseLocalSystem, - [int]$PublishTimeoutSeconds = 180, [int]$ServiceStopTimeoutSeconds = 30, [int]$ServiceStartTimeoutSeconds = 30 ) @@ -218,6 +217,7 @@ function Create-Service($name, $bin, $urls, [PSCredential]$credential, [bool]$us } # 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 'PEP nesting data API service' | Out-Null } function Start-ServiceSafe($name) {