mirror of
https://github.com/hassio-addons/addon-phlex.git
synced 2025-05-04 11:11:28 +00:00
13 lines
469 B
Text
13 lines
469 B
Text
#!/usr/bin/with-contenv bash
|
|
# ==============================================================================
|
|
# Community Hass.io Add-ons: Phlex
|
|
# 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
|
|
|
|
hass.log.info "Starting NGINX..."
|
|
exec nginx -g "daemon off;"
|