[DOCKER] Ensure correct cron log file permissions (#1378)

Co-authored-by: bedlamzd <vcs@bedlamzd.dev>
This commit is contained in:
Maxim Borisov 2025-11-09 18:51:57 +01:00 committed by GitHub
parent 2c33c3b49b
commit a74c79d014
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,13 +17,13 @@ echo "Starting ytdl-sub..."
echo "alias ls='ls --color=auto'" > /config/.bashrc && \
echo "cd ." >> /config/.bashrc
# always create empty cron log file on start
echo "" > "$LOGS_TO_STDOUT"
# permissions
chown -R ${PUID:-abc}:${PGID:-abc} \
/config
# always create empty cron log file on start
echo "" > "$LOGS_TO_STDOUT"
# update command reference:
# https://github.com/yt-dlp/yt-dlp/wiki/Installation#with-pip
if [ "$UPDATE_YT_DLP_ON_START" == "stable" ] ; then