Files
hamview/cmd/hamview-receiver/entrypoint.sh
maze 227477d17f
Some checks failed
Test and build / Build receiver (push) Failing after 45s
Test and build / test (push) Successful in 59s
Test and build / Build collector (push) Failing after 1m16s
Re-added hamview-receiver
2026-02-23 21:15:48 +01:00

18 lines
310 B
Bash
Executable File

#!/bin/sh
run() {
case "${PROTOCOL}" in
"") exec "/app/hamview-receiver" help ;;
*) exec "/app/hamview-receiver" --config "/app/config/hamview-${PROTOCOL}.yaml" "${PROTOCOL}" ;;
esac
}
case "$@" in
"")
run
;;
*)
exec "/bin/sh" -c "$@"
;;
esac