1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-03 05:35:29 +00: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