Files
lichterei-web/entrypoint.sh
2025-10-16 01:50:43 +02:00

11 lines
184 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
USER_ID="${USERID:-}"
if [[ -n "${USER_ID}" && "${USER_ID}" != "$(id -u www-data)" ]]; then
usermod --uid "${USER_ID}" www-data
fi
exec "$@"