From 74f00ddcec95ab6f9219581d67bd99a60f7bfc28 Mon Sep 17 00:00:00 2001 From: CaliBrain Date: Tue, 7 Jan 2025 15:30:45 -0500 Subject: [PATCH] FIX Logging (#46) - [FIX] Actually log to a file - FIX Crash loop due to missing log folder --- entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index ca8f07b5..f1ff2b7d 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash # set -e -mkdir -p /var/logs +mkdir -p /var/log/cwa-book-downloader mkdir -p "$INGEST_DIR" # Create group if it doesn't exist @@ -19,4 +19,3 @@ chown -R $UID:$GID /app "$INGEST_DIR" /var/log/cwa-book-downloader # Switch to the created user and execute the main command exec gosu $UID "$@" -