|
|
@ -86,8 +86,10 @@ namespace NzbDrone.Core.Jobs
|
|
|
|
Arguments = string.Format("{0} {1}", _enviromentProvider.NzbDroneProcessIdFromEnviroment, _configFileProvider.Guid)
|
|
|
|
Arguments = string.Format("{0} {1}", _enviromentProvider.NzbDroneProcessIdFromEnviroment, _configFileProvider.Guid)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
_processProvider.Start(startInfo);
|
|
|
|
var process = _processProvider.Start(startInfo);
|
|
|
|
notification.CurrentMessage = "Update in progress. NzbDrone will restart shortly.";
|
|
|
|
notification.CurrentMessage = "Update in progress. NzbDrone will restart shortly.";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_processProvider.WaitForExit(process);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|