mirror of
https://github.com/kieraneglin/pinchflat.git
synced 2026-01-23 02:24:24 +00:00
* 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
|