mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 21:19:16 -04:00
* Add new service files * Remove moved file * Move files * Add exec perm * Update for new services * Remove xz-utils after use * Check labels * Move labels to build * Typo * List images * Fixit * Add super lint * Update labels * Whoops * Remove superlint * Add teslamate dependency * Fix url
14 lines
332 B
Bash
Executable File
14 lines
332 B
Bash
Executable File
#!/command/with-contenv bashio
|
|
# -*- bash -*-
|
|
# shellcheck shell=bash
|
|
if [[ "${1}" -ne 0 ]] && [[ "${1}" -ne 256 ]]; then
|
|
case "${1}" in
|
|
1)
|
|
bashio::log.error "Nginx encountered an error, halting add-on"
|
|
;;
|
|
*)
|
|
bashio::log.error "Nginx crashed, halting add-on"
|
|
;;
|
|
esac
|
|
/run/s6/basedir/bin/halt
|
|
fi |