Initial add-on code

This commit is contained in:
Franck Nijhof 2018-05-22 21:29:22 +02:00
parent 621cdfb0ea
commit e853ef30b3
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
23 changed files with 1069 additions and 0 deletions

View file

@ -0,0 +1,12 @@
#!/usr/bin/with-contenv bash
# ==============================================================================
# Community Hass.io Add-ons: SonWEB
# 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;"