|
|
@ -21,7 +21,6 @@ namespace NzbDrone.Host
|
|
|
|
private readonly IConfigFileProvider _configFileProvider;
|
|
|
|
private readonly IConfigFileProvider _configFileProvider;
|
|
|
|
private readonly IRuntimeInfo _runtimeInfo;
|
|
|
|
private readonly IRuntimeInfo _runtimeInfo;
|
|
|
|
private readonly IHostController _hostController;
|
|
|
|
private readonly IHostController _hostController;
|
|
|
|
private readonly PriorityMonitor _priorityMonitor;
|
|
|
|
|
|
|
|
private readonly IStartupContext _startupContext;
|
|
|
|
private readonly IStartupContext _startupContext;
|
|
|
|
private readonly IBrowserService _browserService;
|
|
|
|
private readonly IBrowserService _browserService;
|
|
|
|
private readonly Logger _logger;
|
|
|
|
private readonly Logger _logger;
|
|
|
@ -29,7 +28,6 @@ namespace NzbDrone.Host
|
|
|
|
public NzbDroneServiceFactory(IConfigFileProvider configFileProvider,
|
|
|
|
public NzbDroneServiceFactory(IConfigFileProvider configFileProvider,
|
|
|
|
IHostController hostController,
|
|
|
|
IHostController hostController,
|
|
|
|
IRuntimeInfo runtimeInfo,
|
|
|
|
IRuntimeInfo runtimeInfo,
|
|
|
|
PriorityMonitor priorityMonitor,
|
|
|
|
|
|
|
|
IStartupContext startupContext,
|
|
|
|
IStartupContext startupContext,
|
|
|
|
IBrowserService browserService,
|
|
|
|
IBrowserService browserService,
|
|
|
|
Logger logger)
|
|
|
|
Logger logger)
|
|
|
@ -37,7 +35,6 @@ namespace NzbDrone.Host
|
|
|
|
_configFileProvider = configFileProvider;
|
|
|
|
_configFileProvider = configFileProvider;
|
|
|
|
_hostController = hostController;
|
|
|
|
_hostController = hostController;
|
|
|
|
_runtimeInfo = runtimeInfo;
|
|
|
|
_runtimeInfo = runtimeInfo;
|
|
|
|
_priorityMonitor = priorityMonitor;
|
|
|
|
|
|
|
|
_startupContext = startupContext;
|
|
|
|
_startupContext = startupContext;
|
|
|
|
_browserService = browserService;
|
|
|
|
_browserService = browserService;
|
|
|
|
_logger = logger;
|
|
|
|
_logger = logger;
|
|
|
@ -63,8 +60,6 @@ namespace NzbDrone.Host
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_browserService.LaunchWebUI();
|
|
|
|
_browserService.LaunchWebUI();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_priorityMonitor.Start();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override void OnStop()
|
|
|
|
protected override void OnStop()
|
|
|
|