1
0

Add mosquitto container
All checks were successful
Deploy / Deploy (push) Successful in 13s

This commit is contained in:
2026-02-11 01:50:21 +00:00
parent 8170bba047
commit 9c58c928a1
5 changed files with 125 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 mosquitto:mosquitto /data