mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Rename More Sonarr References
This commit is contained in:
parent
f69559e4da
commit
5003cd8a14
31 changed files with 108 additions and 113 deletions
|
@ -86,8 +86,8 @@ namespace NzbDrone.Update.UpdateEngine
|
|||
|
||||
var appType = _detectApplicationType.GetAppType();
|
||||
|
||||
_processProvider.FindProcessByName(ProcessProvider.NZB_DRONE_CONSOLE_PROCESS_NAME);
|
||||
_processProvider.FindProcessByName(ProcessProvider.NZB_DRONE_PROCESS_NAME);
|
||||
_processProvider.FindProcessByName(ProcessProvider.LIDARR_CONSOLE_PROCESS_NAME);
|
||||
_processProvider.FindProcessByName(ProcessProvider.LIDARR_PROCESS_NAME);
|
||||
|
||||
if (OsInfo.IsWindows)
|
||||
{
|
||||
|
@ -101,7 +101,7 @@ namespace NzbDrone.Update.UpdateEngine
|
|||
|
||||
if (OsInfo.IsWindows)
|
||||
{
|
||||
if (_processProvider.Exists(ProcessProvider.NZB_DRONE_CONSOLE_PROCESS_NAME) || _processProvider.Exists(ProcessProvider.NZB_DRONE_PROCESS_NAME))
|
||||
if (_processProvider.Exists(ProcessProvider.LIDARR_CONSOLE_PROCESS_NAME) || _processProvider.Exists(ProcessProvider.LIDARR_PROCESS_NAME))
|
||||
{
|
||||
_logger.Error("Lidarr was restarted prematurely by external process.");
|
||||
return;
|
||||
|
@ -141,14 +141,14 @@ namespace NzbDrone.Update.UpdateEngine
|
|||
{
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
|
||||
if (_processProvider.Exists(ProcessProvider.NZB_DRONE_PROCESS_NAME))
|
||||
if (_processProvider.Exists(ProcessProvider.LIDARR_PROCESS_NAME))
|
||||
{
|
||||
_logger.Info("Lidarr was restarted by external process.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!_processProvider.Exists(ProcessProvider.NZB_DRONE_PROCESS_NAME))
|
||||
if (!_processProvider.Exists(ProcessProvider.LIDARR_PROCESS_NAME))
|
||||
{
|
||||
_startNzbDrone.Start(appType, installationFolder);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue