9 lines
227 B
Bash
Executable file
9 lines
227 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -euo pipefail
|
|
|
|
envsubst < /etc/dendrite/dendrite.in.yaml > /etc/dendrite/dendrite.yaml
|
|
echo ${MATRIX_KEY_PEM} | base64 -d > /etc/dendrite/matrix_key.pem
|
|
chmod 0660 /etc/dendrite/matrix_key.pem
|
|
|
|
/usr/bin/dendrite
|