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