chore: clean up entrypoint and remove unused css vars

This commit is contained in:
2026-05-18 17:48:32 +02:00
parent 3230cf874f
commit 4e9b42d8bb
2 changed files with 4 additions and 15 deletions

View File

@@ -1,17 +1,11 @@
#!/bin/sh
set -e
# Print diagnostic info
echo "[$(date -Iseconds)] Running as user: $(id)"
echo "[$(date -Iseconds)] Database file: $DATABASE_FILE"
: "${DATABASE_FILE:=/app/data/mal.db}"
if [ -f "/app/main_server" ]; then
echo "[$(date -Iseconds)] main_server found, size: $(stat -c%s /app/main_server) bytes"
chmod +x /app/main_server
else
echo "[$(date -Iseconds)] ERROR: /app/main_server not found!"
exit 1
if [ ! -x /app/main_server ]; then
echo "ERROR: /app/main_server not found or not executable" >&2
exit 1
fi
echo "[$(date -Iseconds)] Starting server..."
exec /app/main_server