Skip to content

Commit

Permalink
Ignore if log files don't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorsharp committed Nov 20, 2023
1 parent f124d6a commit a032855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ EXPOSE 80

CMD /usr/bin/yt-dlp -U && \
/usr/bin/yt-dlp --version && \
rm /var/log/download.log /var/log/transcode.log && \
rm -f /var/log/download.log /var/log/transcode.log && \
touch /var/log/download.log /var/log/transcode.log && \
crond && \
yarn start

0 comments on commit a032855

Please sign in to comment.