bundles/matrix-synapse: include signing key in backups
This commit is contained in:
parent
3a5c944926
commit
1708f6ae17
2 changed files with 1 additions and 3 deletions
|
@ -24,9 +24,6 @@ files = {
|
||||||
'svc_systemd:matrix-synapse:restart',
|
'svc_systemd:matrix-synapse:restart',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'/etc/matrix-synapse/homeserver.signing.key': {
|
|
||||||
'content': repo.vault.decrypt_file('matrix-synapse/{}/homeserver_signing.key.vault'.format(node.name)),
|
|
||||||
},
|
|
||||||
'/etc/matrix-synapse/conf.d/server_name.yaml': {
|
'/etc/matrix-synapse/conf.d/server_name.yaml': {
|
||||||
# We don't actually need this file. However, if we don't put the
|
# We don't actually need this file. However, if we don't put the
|
||||||
# server name in there, synapse will somehow remove it from
|
# server name in there, synapse will somehow remove it from
|
||||||
|
|
|
@ -15,6 +15,7 @@ defaults = {
|
||||||
},
|
},
|
||||||
'backups': {
|
'backups': {
|
||||||
'paths': {
|
'paths': {
|
||||||
|
'/etc/matrix-synapse', # to backup the signing key
|
||||||
'/var/lib/matrix-synapse',
|
'/var/lib/matrix-synapse',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue