use the signing key
This commit is contained in:
parent
71e653c3a7
commit
3e5a703118
@ -377,7 +377,6 @@ in {
|
|||||||
# - turn_shared_secret
|
# - turn_shared_secret
|
||||||
# TODO:
|
# TODO:
|
||||||
# app_service_config_files
|
# app_service_config_files
|
||||||
# signing_key_path
|
|
||||||
matrix-synapse = {
|
matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@ -566,6 +565,16 @@ in {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
matrix-synapse = {
|
||||||
|
preStart = ''
|
||||||
|
mkdir -p /run/matrix-synapse/
|
||||||
|
ln -sf ''${CREDENTIALS_DIRECTORY}/jakstys.lt.signing.key /run/matrix-synapse/jakstys.lt.signing.key
|
||||||
|
'';
|
||||||
|
serviceConfig.LoadCredential = [
|
||||||
|
"jakstys.lt.signing.key:/var/src/secrets/synapse/jakstys.lt.signing.key"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
cert-watcher = {
|
cert-watcher = {
|
||||||
description = "Restart coturn when tls key/cert changes";
|
description = "Restart coturn when tls key/cert changes";
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
|
Loading…
Reference in New Issue
Block a user