pinchflat/rel/overlays/bin/docker_start
Kieran 704d29dc7e
[Enhancement] Add support for UMASK environment variable (#582)
* Add umask setting to docker start

* Testing adding umask env var

* Added umask to README
2025-01-21 14:22:04 -08:00

15 lines
250 B
Bash
Executable file

#!/bin/sh
/app/bin/check_file_permissions
if [ $? -ne 0 ]; then
echo "Filesystem error. Exiting."
exit 1
fi
echo "Setting umask to ${UMASK}"
umask ${UMASK}
/app/bin/migrate
cd -P -- "$(dirname -- "$0")"
PHX_SERVER=true exec ./pinchflat start