addon-grocy/grocy/rootfs/etc/services.d/nginx/run
2019-02-28 23:27:17 +01:00

12 lines
435 B
Text
Executable file

#!/usr/bin/with-contenv bash
# ==============================================================================
# Community Hass.io Add-ons: Grocy
# Runs the Nginx daemon
# ==============================================================================
# shellcheck disable=SC1091
source /usr/lib/hassio-addons/base.sh
# Wait for PHP-FPM to become available
s6-svwait -u -t 5000 /var/run/s6/services/php-fpm
exec nginx -g "daemon off;"