We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af7063f commit af07e3bCopy full SHA for af07e3b
1 file changed
mtproxymax.sh
@@ -2688,12 +2688,13 @@ run_proxy_container() {
2688
[ -n "${PROXY_CPUS}" ] && _docker_args+=(--cpus "${PROXY_CPUS}")
2689
[ -n "${PROXY_MEMORY}" ] && _docker_args+=(--memory "${PROXY_MEMORY}" --memory-swap "${PROXY_MEMORY}")
2690
2691
- docker run -d "${_docker_args[@]}" \
+ local _run_out
2692
+ _run_out=$(docker run -d "${_docker_args[@]}" \
2693
--ulimit nofile=65535:65535 \
2694
-v "${CONFIG_DIR}/config.toml:/etc/telemt.toml:ro" \
- "$(get_docker_image)" /etc/telemt.toml \
2695
- &>/dev/null || {
+ "$(get_docker_image)" /etc/telemt.toml 2>&1) || {
2696
log_error "Failed to start container"
2697
+ echo -e " ${DIM}${_run_out}${NC}"
2698
return 1
2699
}
2700
0 commit comments