mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Unit test should now run in a machine with NzbDrone installed as a service with no side effects.
This commit is contained in:
parent
406e5e1f5e
commit
c1cf29757f
10 changed files with 51 additions and 157 deletions
|
@ -44,9 +44,9 @@ namespace NzbDrone.Update.Providers
|
|||
public void Start(string installationFolder)
|
||||
{
|
||||
Logger.Info("Stopping all running services");
|
||||
if (_serviceProvider.ServiceExist(ServiceProvider.NzbDroneServiceName))
|
||||
if (_serviceProvider.ServiceExist(ServiceProvider.NZBDRONE_SERVICE_NAME))
|
||||
{
|
||||
_serviceProvider.Stop(ServiceProvider.NzbDroneServiceName);
|
||||
_serviceProvider.Stop(ServiceProvider.NZBDRONE_SERVICE_NAME);
|
||||
}
|
||||
|
||||
Logger.Info("Killing all running processes");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue