Merge pull request #222336 from motiejus/master_synapse_signing_key_path

matrix-synapse: fix signing key path in fix-permissions script
This commit is contained in:
K900 2023-03-29 16:57:56 +03:00 committed by GitHub
commit 542012fe24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -755,8 +755,8 @@ in {
Group = "matrix-synapse";
WorkingDirectory = cfg.dataDir;
ExecStartPre = [ ("+" + (pkgs.writeShellScript "matrix-synapse-fix-permissions" ''
chown matrix-synapse:matrix-synapse ${cfg.dataDir}/homeserver.signing.key
chmod 0600 ${cfg.dataDir}/homeserver.signing.key
chown matrix-synapse:matrix-synapse ${cfg.settings.signing_key_path}
chmod 0600 ${cfg.settings.signing_key_path}
'')) ];
ExecStart = ''
${cfg.package}/bin/synapse_homeserver \