1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-21 18:22:42 +01:00

Added script parameters

Jan De Luyck 2016-09-08 16:01:08 +02:00
parent 55f877f800
commit b83f8d748d

@ -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.
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