diff options
| author | hatharry <hatharry@hotmail.com> | 2016-10-11 17:18:32 +1300 |
|---|---|---|
| committer | hatharry <hatharry@hotmail.com> | 2016-10-11 17:18:32 +1300 |
| commit | 91225bc9688327e89224c91651dcec7eafa05234 (patch) | |
| tree | 163891f648a73a06677a345266f4f843d3bf7769 | |
| parent | 71386f0ceb15ce0bac2e588f90781a4bd274fe68 (diff) | |
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 e4f5f3a69..46ad714cb 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -682,7 +682,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); } |
