filebrowser/healthcheck.sh
2023-07-31 16:41:48 +03:00

4 lines
94 B
Bash

#!/bin/sh
PORT=$(jq .port /.filebrowser.json)
curl -f http://localhost:$PORT/health || exit 1