matrix-synapse/entrypoint.sh.tmpl

12 lines
252 B
Cheetah
Raw Normal View History

2020-09-08 16:38:35 +00:00
#!/bin/bash
2021-12-13 11:06:20 +00:00
# https://github.com/matrix-org/synapse/tree/develop/docker#running-synapse
# default user permissions for the synapse user
chown 991:991 /data
2021-12-13 11:16:23 +00:00
if [[ ! -f /data/{{ env "DOMAIN" }}.signing.key ]]; then
/start.py generate
fi
2020-09-08 16:38:35 +00:00
/start.py