summaryrefslogtreecommitdiff
path: root/healthcheck.sh
blob: e97a3f06366eee38e934bb1a64886dcc26aec598 (plain)
1
2
3
4
#!/bin/bash

PORT=$(grep '^port:' /misskey/.config/default.yml | awk 'NR==1{print $2; exit}')
curl -s -S -o /dev/null "http://localhost:${PORT}"