From eb51668887038f890ee6188b814b1826c310f744 Mon Sep 17 00:00:00 2001 From: billsbdb3 <64713235+billsbdb3@users.noreply.github.com> Date: Wed, 3 Jul 2024 14:29:35 -0400 Subject: [PATCH] Update Recyclarr --- universal/services/Recyclarr | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/universal/services/Recyclarr b/universal/services/Recyclarr index f279b43..df513d4 100644 --- a/universal/services/Recyclarr +++ b/universal/services/Recyclarr @@ -28,12 +28,12 @@ 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" - # update arr app + # Update arr app log "Updating Arr via Recyclarr" if [ ! -d /config/extended/recyclarr-data ]; then mkdir -p /config/extended/recyclarr-data @@ -41,7 +41,9 @@ RecyclarrProcess () { fi # 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" }