diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-09-29 11:33:23 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-09-29 11:33:23 -0400 |
| commit | 373bdf48253c6a31393ab9116db36a39e5e443a1 (patch) | |
| tree | fafabf07f0d31c118378c8798f65938fa0a6fa04 | |
| parent | b048230518480c3169b5d411514f1b4b494b1dec (diff) | |
specify background service dependencies
| -rw-r--r-- | MediaBrowser.ServerApplication/BackgroundServiceInstaller.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/BackgroundServiceInstaller.cs b/MediaBrowser.ServerApplication/BackgroundServiceInstaller.cs index 435d2f181..27ddfeb95 100644 --- a/MediaBrowser.ServerApplication/BackgroundServiceInstaller.cs +++ b/MediaBrowser.ServerApplication/BackgroundServiceInstaller.cs @@ -19,8 +19,13 @@ namespace MediaBrowser.ServerApplication StartType = ServiceStartMode.Manual, ServiceName = BackgroundService.Name, DisplayName = BackgroundService.DisplayName, + DelayedAutoStart = true, - Description = "The windows background service for Media Browser Server." + + Description = "The windows background service for Media Browser Server.", + + // Will ensure the network is available + ServicesDependedOn = new[] { "LanmanServer" } }; // Microsoft didn't add the ability to add a |
