From 373bdf48253c6a31393ab9116db36a39e5e443a1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 29 Sep 2013 11:33:23 -0400 Subject: [PATCH] specify background service dependencies --- .../BackgroundServiceInstaller.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.ServerApplication/BackgroundServiceInstaller.cs b/MediaBrowser.ServerApplication/BackgroundServiceInstaller.cs index 435d2f181b..27ddfeb955 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