Files
krawl.es/entrypoint.sh
2026-01-04 22:20:10 +01:00

9 lines
185 B
Bash

#!/bin/sh
set -e
# Fix ownership of mounted directories
chown -R krawl:krawl /app/logs /app/data 2>/dev/null || true
# Drop to krawl user and run the application
exec gosu krawl "$@"