#!/bin/bash
# Show whether the BCT website is running.
source "$(dirname "$(readlink -f "$0")")/_common.sh"
P="$(site_pids | tr '\n' ' ')"
echo "Folder : $DIR"; echo "Python : $PY"; echo "Port   : $PORT"
echo "Process: ${P:-not running}"; echo "HTTP   : $(http_code)"; echo "Version: $(cat VERSION 2>/dev/null)"
