Files
krawl.es/entrypoint.sh

9 lines
198 B
Bash
Raw Permalink Normal View History

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