mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
More logging during updates
This commit is contained in:
parent
a1e8266cd8
commit
a2e237b926
3 changed files with 5 additions and 4 deletions
|
@ -32,7 +32,6 @@ namespace NzbDrone.Common
|
|||
return service != null && service.Status == ServiceControllerStatus.Running;
|
||||
}
|
||||
|
||||
|
||||
public virtual void Install(string serviceName)
|
||||
{
|
||||
Logger.Info("Installing service '{0}'", serviceName);
|
||||
|
@ -78,7 +77,6 @@ namespace NzbDrone.Common
|
|||
Logger.Info("{0} successfully uninstalled", serviceName);
|
||||
}
|
||||
|
||||
|
||||
public virtual void Run(ServiceBase service)
|
||||
{
|
||||
ServiceBase.Run(service);
|
||||
|
@ -131,6 +129,7 @@ namespace NzbDrone.Common
|
|||
if (service == null)
|
||||
{
|
||||
Logger.Warn("Unable to start '{0}' no service with that name exists.", serviceName);
|
||||
return;
|
||||
}
|
||||
|
||||
if (service.Status != ServiceControllerStatus.Paused && service.Status != ServiceControllerStatus.Stopped)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue