1
0
Files
nginx_proxy_manager/init.sh
Kappeh ba4afdbaca
Some checks failed
Deploy / Deploy (push) Failing after 32s
Add nginx_proxy_manager container
2026-02-11 16:48:30 +00:00

17 lines
415 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
}
}
run chown nginx_proxy_manager:nginx_proxy_manager /config