mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Re-enable the updater
This commit is contained in:
@@ -39,6 +39,9 @@ namespace Jackett.Server
|
|||||||
|
|
||||||
//Load the indexers
|
//Load the indexers
|
||||||
ServerService.Initalize();
|
ServerService.Initalize();
|
||||||
|
|
||||||
|
//Kicks off the update checker
|
||||||
|
ServerService.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void ProcessSettings()
|
private static void ProcessSettings()
|
||||||
|
@@ -20,8 +20,6 @@ namespace Jackett.Server.Services
|
|||||||
{
|
{
|
||||||
public class ServerService : IServerService
|
public class ServerService : IServerService
|
||||||
{
|
{
|
||||||
private IDisposable _server = null;
|
|
||||||
|
|
||||||
private IIndexerManagerService indexerService;
|
private IIndexerManagerService indexerService;
|
||||||
private IProcessService processService;
|
private IProcessService processService;
|
||||||
private ISerializeService serializeService;
|
private ISerializeService serializeService;
|
||||||
@@ -292,10 +290,7 @@ namespace Jackett.Server.Services
|
|||||||
|
|
||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
if (_server != null)
|
// Only needed for Owin
|
||||||
{
|
|
||||||
_server.Dispose();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetServerUrl(Object obj)
|
public string GetServerUrl(Object obj)
|
||||||
|
Reference in New Issue
Block a user