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