2023-02-04 21:04:02 -08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-02-13 07:59:27 -08:00
|
|
|
# SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-26 22:31:52 -07:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2023-09-22 19:45:07 -07:00
|
|
|
PORT=$(grep '^port:' /sharkey/.config/default.yml | awk 'NR==1{print $2; exit}')
|
2024-05-22 23:19:52 -07:00
|
|
|
curl -Sfso/dev/null "http://localhost:${PORT}/healthz"
|