Repositories | Polyback | Log in to see private repositories


polyback-website / 7e551d223f42aecd154514fc9f0a7f04b918903f / 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;'