The Free Software Media System - Server Backend & API
add retry to service restart
hatharry91225bc96883
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.csindex e4f5f3a694..46ad714cb7 100644--- a/MediaBrowser.ServerApplication/MainStartup.cs+++ b/MediaBrowser.ServerApplication/MainStartup.cs@@ -682,7 +682,7 @@ namespace MediaBrowser.ServerApplicationWindowStyle = ProcessWindowStyle.Hidden,Verb = "runas",ErrorDialog = false,- Arguments = String.Format("/c sc stop {0} & sc start {0}", BackgroundService.GetExistingServiceName())+ Arguments = String.Format("/c sc stop {0} & sc start {0} & sc start {0}", BackgroundService.GetExistingServiceName())};Process.Start(startInfo);}