1
0
Files
Kappeh fd8a377664
Deploy / Deploy (push) Successful in 23s
Add navidrome container
2026-06-22 19:16:11 +01:00

18 lines
438 B
Bash
Executable File

#!/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 navidrome:navidrome /data