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

This commit is contained in:
2026-02-17 23:41:53 +00:00
parent f0b7d3a3af
commit 33a9889b77
4 changed files with 111 additions and 0 deletions

17
init.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/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
}
}
# Make sure volumes have correct permissions
run chown diun:diun /data