#!/usr/bin/env bash set -euo pipefail SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)" # shellcheck disable=SC1091 source "$SCRIPT_DIR/common.sh" if is_running; then echo "hy-app-monitor running pid=$(read_pid) port=$APP_PORT" exit 0 fi echo "hy-app-monitor stopped" exit 1