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