mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
started to remove iisexpress.
This commit is contained in:
parent
40f3a8663d
commit
68128809c9
39 changed files with 383 additions and 820 deletions
|
@ -9,13 +9,13 @@ namespace NzbDrone.Core.Lifecycle
|
|||
{
|
||||
public class AppRestartJob : IJob
|
||||
{
|
||||
private readonly IISProvider _iisProvider;
|
||||
private readonly HostController _hostController;
|
||||
|
||||
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
|
||||
|
||||
public AppRestartJob(IISProvider iisProvider)
|
||||
public AppRestartJob(HostController hostController)
|
||||
{
|
||||
_iisProvider = iisProvider;
|
||||
_hostController = hostController;
|
||||
}
|
||||
|
||||
public string Name
|
||||
|
@ -33,7 +33,7 @@ namespace NzbDrone.Core.Lifecycle
|
|||
notification.CurrentMessage = "Restarting NzbDrone";
|
||||
logger.Info("Restarting NzbDrone");
|
||||
|
||||
_iisProvider.StopServer();
|
||||
_hostController.StopServer();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue