1
0

Add home_assistant container
All checks were successful
Deploy / Deploy (push) Successful in 14s

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

16
init.sh Executable 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