Update Recyclarr
This commit is contained in:
parent
48c8caa3ef
commit
eb51668887
1 changed files with 5 additions and 3 deletions
|
@ -33,7 +33,7 @@ RecyclarrProcess () {
|
||||||
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"
|
||||||
if [ ! -d /config/extended/recyclarr-data ]; then
|
if [ ! -d /config/extended/recyclarr-data ]; then
|
||||||
mkdir -p /config/extended/recyclarr-data
|
mkdir -p /config/extended/recyclarr-data
|
||||||
|
@ -41,7 +41,9 @@ RecyclarrProcess () {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run Recyclarr and capture the output
|
# Run Recyclarr and capture the output
|
||||||
/recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data 2>&1 | while IFS= read -r line; do log "$line"; done
|
/recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data 2>&1 | while IFS= read -r line; do
|
||||||
|
log "$line"
|
||||||
|
done
|
||||||
|
|
||||||
log "Complete"
|
log "Complete"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue