Update Recyclarr
This commit is contained in:
parent
63e0a88af6
commit
3af447b736
1 changed files with 5 additions and 3 deletions
|
@ -28,10 +28,10 @@ verifyConfig () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
RecyclarrProcess () {
|
RecyclarrProcess () {
|
||||||
# Configure Yaml with URL and API Key
|
# Configure Yaml with URL and API Key
|
||||||
sed -i "s%arrUrl%$arrUrl%g" "/config/extended/recyclarr.yaml"
|
sed -i "s%arrUrl%$arrUrl%g" "/config/extended/recyclarr.yaml"
|
||||||
sed -i "s%arrApi%$arrApiKey%g" "/config/extended/recyclarr.yaml"
|
sed -i "s%arrApi%$arrApiKey%g" "/config/extended/recyclarr.yaml"
|
||||||
|
|
||||||
# update arr app
|
# update arr app
|
||||||
log "Updating Arr via Recyclarr"
|
log "Updating Arr via Recyclarr"
|
||||||
|
@ -39,7 +39,9 @@ RecyclarrProcess () {
|
||||||
mkdir -p /config/extended/recyclarr-data
|
mkdir -p /config/extended/recyclarr-data
|
||||||
chmod 777 /config/extended/recyclarr-data
|
chmod 777 /config/extended/recyclarr-data
|
||||||
fi
|
fi
|
||||||
/recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data
|
|
||||||
|
# Run Recyclarr and capture the output
|
||||||
|
/recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data 2>&1 | tee -a "/config/logs/$logFileName"
|
||||||
|
|
||||||
log "Complete"
|
log "Complete"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue