mirror of
https://github.com/hassio-addons/addon-sqlite-web.git
synced 2025-05-07 04:31:27 +00:00
13 lines
480 B
Text
13 lines
480 B
Text
#!/usr/bin/with-contenv bash
|
|
# ==============================================================================
|
|
# Community Hass.io Add-ons: SQLite Web
|
|
# Runs the NGINX daemon
|
|
# ==============================================================================
|
|
# shellcheck disable=SC1091
|
|
source /usr/lib/hassio-addons/base.sh
|
|
|
|
# Wait for SQLite Web to become available
|
|
s6-svwait -u -t 5000 /var/run/s6/services/sqlite-web
|
|
|
|
hass.log.info "Starting NGINX..."
|
|
exec nginx -g "daemon off;"
|