File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -28,18 +28,20 @@ verifyConfig () {
2828 fi
2929}
3030
31- RecyclarrProcess () {
31+ RecyclarrProcess () {
3232 # Configure Yaml with URL and API Key
3333 sed -i " s%arrUrl%$arrUrl %g" " /config/extended/recyclarr.yaml"
34- sed -i " s%arrApi%$arrApiKey %g" " /config/extended/recyclarr.yaml"
34+ sed -i " s%arrApi%$arrApiKey %g" " /config/extended/recyclarr.yaml"
3535
3636 # update arr app
3737 log " Updating Arr via Recyclarr"
3838 if [ ! -d /config/extended/recyclarr-data ]; then
3939 mkdir -p /config/extended/recyclarr-data
4040 chmod 777 /config/extended/recyclarr-data
4141 fi
42- /recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data
42+
43+ # Run Recyclarr and capture the output
44+ /recyclarr/recyclarr sync -c $recyclarrConfig --app-data /config/extended/recyclarr-data 2>&1 | tee -a " /config/logs/$logFileName "
4345
4446 log " Complete"
4547}
You can’t perform that action at this time.
0 commit comments