Changeset 0714200d90e8…
Parent 4cf1dbffa904…
by Quentin Schroeder <quentin@fogcreek.com>
Changes to one file · Browse files at 0714200d90e8 Showing diff from parent 4cf1dbffa904 Diff from another changeset...
@@ -69,9 +69,9 @@ The name of the IIS Website that FogBugz and Kiln are running under. If you provide this,
the script will attempt to restart IIS if it cannot load the Kiln web page.
-.PARAMETER noRestart
- A flag which when set will force the script to only send alert messages and not
- attempt to restart any services automatically.
+.PARAMETER tryAutoRestart
+ A flag which when set will modify the behavior of the script to attempt to restart services
+ which it detects are not running or to reenqueue tasks when too many are found.
.PARAMETER reenqueuePath
The path to the Reenqueue script, this is used to try to resuscitate the Queue when problems are detected.
@@ -97,7 +97,7 @@ [string]$esUrl = "http://localhost:9200/",
[string]$queueStatsUrl = "http://localhost:56785/stats.json",
[string]$iisSiteName = "",
- [switch]$noRestart,
+ [switch]$tryAutoRestart,
[string]$reenqueuePath = ".\reenqueue_2.9_tasks.ps1"
)
@@ -303,7 +303,6 @@
-$tryAutoRestart = !($noRestart) # Needed a negative name for the parameter since the default is true. Sanity rename here.
$kssNeedsRestart = $false
$kqsNeedsRestart = $false
$iisNeedsRestart = $false
|
Loading...