mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
matrix-synapse: Pass required --report-stats opt
This commit is contained in:
parent
6a380c20e0
commit
443d833947
1 changed files with 5 additions and 1 deletions
|
@ -561,7 +561,11 @@ in {
|
|||
mkdir -p /var/lib/matrix-synapse
|
||||
chmod 700 /var/lib/matrix-synapse
|
||||
chown -R matrix-synapse:matrix-synapse /var/lib/matrix-synapse
|
||||
${cfg.package}/bin/homeserver --config-path ${configFile} --keys-directory /var/lib/matrix-synapse/ --generate-keys
|
||||
${cfg.package}/bin/homeserver \
|
||||
--config-path ${configFile} \
|
||||
--keys-directory /var/lib/matrix-synapse/ \
|
||||
--generate-keys \
|
||||
--report-stats ${if cfg.report_stats then "yes" else "no"}
|
||||
fi
|
||||
'';
|
||||
serviceConfig = {
|
||||
|
|
Loading…
Reference in a new issue