mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-10-04 22:05:45 +01:00
FIX Logging (#46)
- [FIX] Actually log to a file - FIX Crash loop due to missing log folder
This commit is contained in:
+1
-2
@@ -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 "$@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user