matrix-synapse/entrypoint.sh.tmpl

13 lines
300 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
2024-03-27 03:38:39 +00:00
chown -R 991:991 /data/*.config /data/*.key
2021-12-13 11:16:23 +00:00
fi
2020-09-08 16:38:35 +00:00
/start.py