From b83f8d748dc58bf67423029f92e89a316e71a9e4 Mon Sep 17 00:00:00 2001 From: Jan De Luyck Date: Thu, 8 Sep 2016 16:01:08 +0200 Subject: [PATCH] Added script parameters --- Updating.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Updating.md b/Updating.md index f23b660..9376f30 100644 --- a/Updating.md +++ b/Updating.md @@ -28,4 +28,11 @@ The built-in method will backup Sonarr files and settings, stop Sonarr, update t #### Script #### -The script should handle the the same as the built-in updater, if you need to handle stopping and starting services (upstart/launchd/etc) you will need to do that here. \ No newline at end of file +The script should handle the the same as the built-in updater, if you need to handle stopping and starting services (upstart/launchd/etc) you will need to do that here. + +The script takes the following parameters: +* {processId}: processid of currently running Sonarr instance +* {updateSourceFolder}: folder containing new installation, ready to be moved to wherever you want it +* {executingApp/monoPath}: path to mono/binary +* {preservedArgumentsToRestartSonarr}: arguments to pass to the binary at restart +