* Add umask setting to docker start * Testing adding umask env var * Added umask to README
15 lines
250 B
Bash
Executable file
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
|