mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-04-04 06:13:11 +01:00
[AWTRIX] Initial add (#132)
This commit is contained in:
9
awtrix/rootfs/etc/services.d/nginx/finish
Normal file
9
awtrix/rootfs/etc/services.d/nginx/finish
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: grafana
|
||||
# Take down the S6 supervision tree when Nginx fails
|
||||
# ==============================================================================
|
||||
if { s6-test ${1} -ne 0 }
|
||||
if { s6-test ${1} -ne 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
8
awtrix/rootfs/etc/services.d/nginx/run
Normal file
8
awtrix/rootfs/etc/services.d/nginx/run
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: awtrix
|
||||
# Runs the Nginx daemon
|
||||
# ==============================================================================
|
||||
|
||||
bashio::log.info "Starting NGinx..."
|
||||
exec nginx
|
||||
Reference in New Issue
Block a user