author | Peter Gervai <grin@grin.hu> |
Wed, 03 Aug 2022 10:43:29 +0200 | |
changeset 11 | 3d9a0d238469 |
parent 7 | 6aea45bf033b |
permissions | -rwxr-xr-x |
0 | 1 |
#!/bin/sh |
2 |
# (cc) Peter 'grin' Gervai, 2020 |
|
3 |
||
5
2128a557be76
Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents:
1
diff
changeset
|
4 |
# synapse api |
2128a557be76
Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents:
1
diff
changeset
|
5 |
export SRV="https://matrix.example.org:8448" |
2128a557be76
Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents:
1
diff
changeset
|
6 |
# database readonly |
2128a557be76
Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents:
1
diff
changeset
|
7 |
export DB="postgresql://matrixro:password@localhost:5432/synapse" |
2128a557be76
Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents:
1
diff
changeset
|
8 |
# database r/w |
7
6aea45bf033b
Add room and event display to cmd.sh
Peter Gervai <grin@grin.hu>
parents:
5
diff
changeset
|
9 |
export DBRW="postgresql://synapseuser:passwordd@localhost:5432/synapse" |
5
2128a557be76
Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents:
1
diff
changeset
|
10 |
# token |
2128a557be76
Expand _config.sh with more variables
Peter Gervai <grin@grin.hu>
parents:
1
diff
changeset
|
11 |
export T="MDAxNabCadacada111..." |
7
6aea45bf033b
Add room and event display to cmd.sh
Peter Gervai <grin@grin.hu>
parents:
5
diff
changeset
|
12 |
# psql command line (pw in ~/.pgpass) |
6aea45bf033b
Add room and event display to cmd.sh
Peter Gervai <grin@grin.hu>
parents:
5
diff
changeset
|
13 |
export PSQL_CMD='psql -h 1.2.3.4 -U matrixro synapse -c' |