11 lines
378 B
Plaintext
11 lines
378 B
Plaintext
|
#!/usr/bin/with-contenv sh
|
||
|
|
||
|
if [ ! -f /var/lib/synapse/signing/signing.key ]; then
|
||
|
source /var/lib/synapse/bin/activate
|
||
|
s6-setuidgid synapse python -B -m synapse.app.homeserver -c server.yaml --generate-config --report-stats=no
|
||
|
fi
|
||
|
|
||
|
if [ ! -f /var/lib/synapse/signing/dhparams.pem ]; then
|
||
|
openssl dhparam -out /var/lib/synapse/signing/dhparams.pem $DHPARAM_LENGTH
|
||
|
fi
|