2023-02-04 21:04:02 -08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-02-11 18:37:45 -08:00
|
|
|
# SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-26 22:31:52 -07:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2023-02-08 00:59:10 -08:00
|
|
|
PORT=$(grep '^port:' /misskey/.config/default.yml | awk 'NR==1{print $2; exit}')
|
2023-02-04 21:04:02 -08:00
|
|
|
curl -s -S -o /dev/null "http://localhost:${PORT}"
|