Repositories | Polyback | Log in to see private repositories


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