diff --git a/universal/services/Recyclarr b/universal/services/Recyclarr index 9f205c5..f279b43 100644 --- a/universal/services/Recyclarr +++ b/universal/services/Recyclarr @@ -28,7 +28,7 @@ verifyConfig () { fi } -RecyclarrProcess () { +RecyclarrProcess () { # Configure Yaml with URL and API Key sed -i "s%arrUrl%$arrUrl%g" "/config/extended/recyclarr.yaml" sed -i "s%arrApi%$arrApiKey%g" "/config/extended/recyclarr.yaml" @@ -41,7 +41,7 @@ RecyclarrProcess () { fi # Run Recyclarr and capture the output - /recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data 2>&1 | tee -a "/config/logs/$logFileName" + /recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data 2>&1 | while IFS= read -r line; do log "$line"; done log "Complete" }