mirror of https://github.com/Jackett/Jackett
Re-enable the updater
This commit is contained in:
parent
e82b54994e
commit
33e35f1bd3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue