aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-10-11 00:46:07 -0400
committerGitHub <noreply@github.com>2016-10-11 00:46:07 -0400
commitd1f213dbf5eeb65b7b1cf41689619f454e09a58e (patch)
treea712bbef2227b60d8d870898e4205328fbf02484
parentcb26cb94579b772fa7825c6769dc7ace38217168 (diff)
parentd6862cefd83e3733a7a459ffd7cec616db006c22 (diff)
Merge pull request #2218 from hatharry/dev
add retry to service restart
-rw-r--r--MediaBrowser.ServerApplication/MainStartup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs
index 90e688733..d1972a938 100644
--- a/MediaBrowser.ServerApplication/MainStartup.cs
+++ b/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);
}