Repositories | Polyback | Log in to see private repositories


polyback-website / b03649d777b564d64767a436c04d21dc3fbdcf0a / container/entrypoint.sh

200 bytes | parent directory

#!/bin/sh
set -e
if [ ! -f /var/www/polygonshared/config.php ]; then
    echo "FATAL: /var/www/polygonshared/config.php is missing (mount it)" >&2
    exit 1
fi
php-fpm -D
exec nginx -g 'daemon off;'