mirror of
https://github.com/dali99/nixos-matrix-modules.git
synced 2026-01-19 05:58:22 +01:00
Compare commits
1 Commits
deprecate-
...
time-to-br
| Author | SHA1 | Date | |
|---|---|---|---|
| f5c6d3f72c |
@@ -344,12 +344,12 @@ in {
|
||||
Group = "matrix-synapse";
|
||||
Slice = "system-matrix-synapse.slice";
|
||||
WorkingDirectory = cfg.dataDir;
|
||||
ExecStartPre = pkgs.writers.writeBash "wait-for-synapse" ''
|
||||
# From https://md.darmstadt.ccc.de/synapse-at-work
|
||||
while ! systemctl is-active -q matrix-synapse.service; do
|
||||
sleep 1
|
||||
done
|
||||
'';
|
||||
# ExecStartPre = pkgs.writers.writeBash "wait-for-synapse" ''
|
||||
# # From https://md.darmstadt.ccc.de/synapse-at-work
|
||||
# while ! systemctl is-active -q matrix-synapse.service; do
|
||||
# sleep 1
|
||||
# done
|
||||
# '';
|
||||
ExecStart = let
|
||||
flags = lib.cli.toGNUCommandLineShell {} {
|
||||
config-path = [ matrix-synapse-common-config (workerConfig worker) ] ++ cfg.extraConfigFiles;
|
||||
|
||||
Reference in New Issue
Block a user