Skip to content
Snippets Groups Projects
healthcheck.sh 244 B
Newer Older
#!/bin/bash

# SPDX-FileCopyrightText: syuilo and misskey-project
파링's avatar
파링 committed
PORT=$(grep '^port:' /misskey/.config/default.yml | awk 'NR==1{print $2; exit}')
curl -Sfso/dev/null "http://localhost:${PORT}/healthz"