v1.2 - Make recyclarr data persistent
This commit is contained in:
parent
154072b85d
commit
f9e7b300d6
1 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
scriptVersion="1.1"
|
scriptVersion="1.2"
|
||||||
|
|
||||||
getArrAppInfo () {
|
getArrAppInfo () {
|
||||||
# Get Arr App information
|
# Get Arr App information
|
||||||
|
@ -66,7 +66,11 @@ RecyclarrProcess () {
|
||||||
|
|
||||||
# update radarr
|
# update radarr
|
||||||
log "Updating Sonarr via Recyclarr"
|
log "Updating Sonarr via Recyclarr"
|
||||||
/recyclarr/recyclarr sync $recylcarrApp -c /config/extended/recyclarr.yaml --app-data /recyclarr-data
|
if [ ! -d /config/extended/recyclarr-data ]; then
|
||||||
|
mkdir -p /config/extended/recyclarr-data
|
||||||
|
chmod 777 /config/extended/recyclarr-data
|
||||||
|
fi
|
||||||
|
/recyclarr/recyclarr sync $recylcarrApp -c /config/extended/recyclarr.yaml --app-data /config/extended/recyclarr-data
|
||||||
log "Complete"
|
log "Complete"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue