diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-10-11 00:46:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-11 00:46:07 -0400 |
| commit | d1f213dbf5eeb65b7b1cf41689619f454e09a58e (patch) | |
| tree | a712bbef2227b60d8d870898e4205328fbf02484 | |
| parent | cb26cb94579b772fa7825c6769dc7ace38217168 (diff) | |
| parent | d6862cefd83e3733a7a459ffd7cec616db006c22 (diff) | |
Merge pull request #2218 from hatharry/dev
add retry to service restart
| -rw-r--r-- | MediaBrowser.ServerApplication/MainStartup.cs | 2 |
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); } |
