2
0
Эх сурвалжийг харах

Merge pull request #2218 from hatharry/dev

add retry to service restart
Luke 8 жил өмнө
parent
commit
d1f213dbf5

+ 1 - 1
MediaBrowser.ServerApplication/MainStartup.cs

@@ -704,7 +704,7 @@ namespace MediaBrowser.ServerApplication
                 WindowStyle = 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);
         }