1
0
mirror of synced 2025-12-17 04:52:15 +01:00

Add files via upload

This commit is contained in:
d-two
2021-01-06 15:35:47 +01:00
committed by GitHub
parent 188560f90b
commit ebdcab4b51
23 changed files with 595 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: HPE SSA
# Runs the SSA application
# ==============================================================================
bashio::log.info "Starting HPE SSA..."
# Disable HA Authentication if front door is open
if bashio::config.true 'leave_front_door_open'; then
export DISABLE_HA_AUTHENTICATION=true
fi
if bashio::config.has_value 'lang'; then
ssa -local -lang $(bashio::config 'lang')
else
ssa -local
fi
bashio::log.info "HPE SSA closed..."
kill -9 $(pidof nginx)