cherrypick/healthcheck.sh
2023-02-06 03:25:40 +09:00

5 lines
115 B
Bash

#!/bin/bash
PORT=$(yq '.port' /cherrypick/.config/default.yml)
curl -s -S -o /dev/null "http://localhost:${PORT}"