matrix-synapse/rootfs/etc/cont-init.d/synapse-keys

6 lines
252 B
Plaintext
Raw Normal View History

2016-08-03 09:38:20 +00:00
#!/usr/bin/with-contenv sh
if [ ! -f /var/lib/matrix-synapse/signing/signing.key ]; then
s6-setuidgid matrix-synapse python -B -m synapse.app.homeserver -c /var/lib/matrix-synapse/server.yaml --generate-config -H $SERVER_NAME --report-stats=no
2016-08-03 09:38:20 +00:00
fi