mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-25 09:36:14 +01:00
wip
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
1bda9c6e16
commit
ec964f3aee
|
@ -87,11 +87,16 @@ nglib.makeSystem {
|
||||||
in
|
in
|
||||||
pkgs.writeShellScript "conduit"
|
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 \
|
${pkgs.matrix-synapse}/bin/synapse_homeserver \
|
||||||
--config-path ${synapseConfig} \
|
--config-path ${synapseConfig} \
|
||||||
--config-path /secrets/extra.yaml \
|
--config-path /secrets/extra.yaml \
|
||||||
--keys-directory /var/lib/matrix-conduit/synapse/keys \
|
--keys-directory /var/lib/matrix-conduit/synapse/keys
|
||||||
--generate-keys
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue