#!/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