Changeset 5bcd7ecff7db…
Parent ab9ea9d9b72f…
by Ben McCormack <benm@fogcreek.com>
Changes to one file · Browse files at 5bcd7ecff7db Showing diff from parent ab9ea9d9b72f Diff from another changeset...
@@ -39,8 +39,7 @@ if (-Not ((Test-KilnVersion) -and (Test-KilnDiff $sRepoGUID $sChangeset1 $sChangeset2))){
#Restart the Kiln storage Service because something bad happened
write "$(Get-Date -format o) Something is wrong. Restarting Kiln Storage Service" | out-file -append $logFile
- sc.exe stop "KilnStorageService"
- sc.exe start "KilnStorageService"
+ Restart-Service "KilnStorageService"
}
else {
write "$(Get-Date -format o) Kiln backend is OK" | out-file -append $logFile
|
Loading...