mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Process settings before creating WebHost
This commit is contained in:
@@ -55,8 +55,6 @@ namespace Jackett.Server
|
||||
runtimeDictionary = GetValues(Settings);
|
||||
});
|
||||
|
||||
Helper.ConsoleOptions = consoleOptions;
|
||||
|
||||
LogManager.Configuration = Initialisation.SetupLogging(Settings);
|
||||
Logger logger = LogManager.GetCurrentClassLogger();
|
||||
logger.Info("Starting Jackett v" + EnvironmentUtil.JackettVersion);
|
||||
@@ -75,6 +73,8 @@ namespace Jackett.Server
|
||||
}
|
||||
}
|
||||
|
||||
Initialisation.ProcessSettings(Settings, logger);
|
||||
|
||||
ISerializeService serializeService = new SerializeService();
|
||||
IProcessService processService = new ProcessService(logger);
|
||||
IConfigurationService configurationService = new ConfigurationService(serializeService, processService, logger, Settings);
|
||||
|
Reference in New Issue
Block a user