containers/apps/home-assistant/entrypoint.sh

11 lines
228 B
Bash
Raw Normal View History

2024-12-30 20:50:06 +00:00
#!/usr/bin/env bash
#shellcheck disable=SC2086
if [[ "${HOME_ASSISTANT__HACS_INSTALL}" == "true" ]]; then
curl -sfSL https://get.hacs.xyz | bash -
fi
exec \
/usr/local/bin/hass \
--config /config \
"$@"