matrix-synapse/rootfs/bin/synapse-keys

6 lines
236 B
Bash
Executable File

#!/bin/sh
if [ ! -f /var/lib/matrix-synapse/signing/signing.key ]; then
s6-setuidgid matrix-synapse python3 -B -m synapse.app.homeserver -c /var/lib/matrix-synapse/server.yaml --generate-config -H $SERVER_NAME --report-stats=no
fi