Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2022-09-19 22:29:06 +02:00
parent 1bda9c6e16
commit ec964f3aee
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -87,11 +87,16 @@ nglib.makeSystem {
in
pkgs.writeShellScript "conduit"
''
[ -e /var/lib/matrix-conduit/synapse/signing.key ] || \
${pkgs.matrix-synapse}/bin/synapse_homeserver \
--config-path ${synapseConfig} \
--config-path /secrets/extra.yaml \
--keys-directory /var/lib/matrix-conduit/synapse/keys \
--generate-keys
${pkgs.matrix-synapse}/bin/synapse_homeserver \
--config-path ${synapseConfig} \
--config-path /secrets/extra.yaml \
--keys-directory /var/lib/matrix-conduit/synapse/keys \
--generate-keys
--keys-directory /var/lib/matrix-conduit/synapse/keys
'';
};
});