2023-02-05 05:04:02 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-07-25 09:28:57 +00:00
|
|
|
# SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2023-02-08 08:59:10 +00:00
|
|
|
PORT=$(grep '^port:' /misskey/.config/default.yml | awk 'NR==1{print $2; exit}')
|
2023-02-05 05:04:02 +00:00
|
|
|
curl -s -S -o /dev/null "http://localhost:${PORT}"
|