1
0

Add home_assistant container
Some checks failed
Deploy / Deploy (push) Failing after 1m48s

This commit is contained in:
2026-02-10 19:07:34 +00:00
parent de91c62e67
commit 3817f1950f
3 changed files with 88 additions and 0 deletions

16
init.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env sh
# Define a helper function that runs a command
# If the command fails, the script prints an error message
# and exits immediately.
run() {
# "$@" expands to all arguments passed to this function
# and preserves proper word splitting and quoting.
"$@" || {
echo "Error: command failed: $*" >&2
exit 1
}
}
run chown home_assistant:home_assistant /config