/run/matrix-synapse is a tmpfile
This commit is contained in:
parent
f2f493be78
commit
c09ce8f190
@ -564,7 +564,7 @@ in {
|
|||||||
|
|
||||||
matrix-synapse = {
|
matrix-synapse = {
|
||||||
preStart = ''
|
preStart = ''
|
||||||
mkdir -p /run/matrix-synapse/
|
umask 077
|
||||||
ln -sf ''${CREDENTIALS_DIRECTORY}/jakstys.lt.signing.key /run/matrix-synapse/jakstys.lt.signing.key
|
ln -sf ''${CREDENTIALS_DIRECTORY}/jakstys.lt.signing.key /run/matrix-synapse/jakstys.lt.signing.key
|
||||||
cat > /run/matrix-synapse/secrets.yaml <<EOF
|
cat > /run/matrix-synapse/secrets.yaml <<EOF
|
||||||
registration_shared_secret: "$(cat ''${CREDENTIALS_DIRECTORY}/registration_shared_secret)"
|
registration_shared_secret: "$(cat ''${CREDENTIALS_DIRECTORY}/registration_shared_secret)"
|
||||||
@ -576,6 +576,9 @@ in {
|
|||||||
"registration_shared_secret:/var/src/secrets/synapse/registration_shared_secret"
|
"registration_shared_secret:/var/src/secrets/synapse/registration_shared_secret"
|
||||||
"macaroon_secret_key:/var/src/secrets/synapse/macaroon_secret_key"
|
"macaroon_secret_key:/var/src/secrets/synapse/macaroon_secret_key"
|
||||||
];
|
];
|
||||||
|
tmpfiles.rules = [
|
||||||
|
"d /run/matrix-synapse 0700 matrix-synapse matrix-synapse -"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
cert-watcher = {
|
cert-watcher = {
|
||||||
|
Loading…
Reference in New Issue
Block a user