synapse: second script that does the same thing
Away from my stash
This commit is contained in:
parent
be7bcd9ef5
commit
5fa7fa7d59
2 changed files with 14 additions and 0 deletions
12
matrix/synapse_version.sh
Executable file
12
matrix/synapse_version.sh
Executable 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}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue