You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uptime-kuma/extra/entrypoint.sh

14 lines
333 B

#!/usr/bin/env sh
set -e
files_ownership () {
chown -hRc "${PUID=1000}":"${PGID=1000}" /app/data
}
echo "==> Performing startup jobs and maintenance tasks"
files_ownership
echo "==> Starting application with user ${PUID=1000} group ${PGID=1000}"
exec setpriv --reuid "${PUID=1000}" --regid "${PGID=1000}" --clear-groups "$@"