synapse/_config.sh
author Peter Gervai <grin@grin.hu>
Wed, 03 Aug 2022 10:43:29 +0200
changeset 11 3d9a0d238469
parent 7 6aea45bf033b
permissions -rwxr-xr-x
Add check.server.pl: checks whether a matrix server is real and responding * uses both spec based checks and MSC1929 and nodeinfo2 * not pretty, not robust, just works

#!/bin/sh
# (cc) Peter 'grin' Gervai, 2020

# synapse api
export  SRV="https://matrix.example.org:8448"
# database readonly
export   DB="postgresql://matrixro:password@localhost:5432/synapse"
# database r/w
export DBRW="postgresql://synapseuser:passwordd@localhost:5432/synapse"
# token
export    T="MDAxNabCadacada111..."
# psql command line (pw in ~/.pgpass)
export PSQL_CMD='psql -h 1.2.3.4 -U matrixro synapse -c'