synapse: second script that does the same thing

Away from my stash
This commit is contained in:
Nico Schottelius 2026-09-01 12:37:22 +02:00
commit 5fa7fa7d59
2 changed files with 14 additions and 0 deletions

12
matrix/synapse_version.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
# 2026-08-10, Nico Schottelius
if [ $# -ne 1 ]; then
echo $0: matrix-server
exit 1
fi
server=$1; shift
url=https://${server}/_synapse/admin/v1/server_version
curl "${url}"