13 lines
300 B
Bash
13 lines
300 B
Bash
#!/bin/bash
|
|
|
|
# https://github.com/matrix-org/synapse/tree/develop/docker#running-synapse
|
|
# default user permissions for the synapse user
|
|
chown 991:991 /data
|
|
|
|
if [[ ! -f /data/{{ env "DOMAIN" }}.signing.key ]]; then
|
|
/start.py generate
|
|
chown -R 991:991 /data/*.config /data/*.key
|
|
fi
|
|
|
|
/start.py
|