mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-22 22:34:53 -04:00
Initial Push
This commit is contained in:
@@ -86,7 +86,7 @@ namespace NzbDrone.Update.UpdateEngine
|
||||
public void Start(string installationFolder, int processId)
|
||||
{
|
||||
_logger.Info("Installation Folder: {0}", installationFolder);
|
||||
_logger.Info("Updating Radarr from version {0} to version {1}", _detectExistingVersion.GetExistingVersion(installationFolder), BuildInfo.Version);
|
||||
_logger.Info("Updating Prowlarr from version {0} to version {1}", _detectExistingVersion.GetExistingVersion(installationFolder), BuildInfo.Version);
|
||||
|
||||
Verify(installationFolder, processId);
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace NzbDrone.Update.UpdateEngine
|
||||
{
|
||||
if (_processProvider.Exists(ProcessProvider.RADARR_CONSOLE_PROCESS_NAME) || _processProvider.Exists(ProcessProvider.RADARR_PROCESS_NAME))
|
||||
{
|
||||
_logger.Error("Radarr was restarted prematurely by external process.");
|
||||
_logger.Error("Prowlarr was restarted prematurely by external process.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -125,7 +125,7 @@ namespace NzbDrone.Update.UpdateEngine
|
||||
// Set executable flag on app
|
||||
if (OsInfo.IsOsx || (OsInfo.IsLinux && PlatformInfo.IsNetCore))
|
||||
{
|
||||
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Radarr"), "0755");
|
||||
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Prowlarr"), "0755");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
@@ -152,7 +152,7 @@ namespace NzbDrone.Update.UpdateEngine
|
||||
|
||||
if (_processProvider.Exists(ProcessProvider.RADARR_PROCESS_NAME))
|
||||
{
|
||||
_logger.Info("Radarr was restarted by external process.");
|
||||
_logger.Info("Prowlarr was restarted by external process.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user