disable the wait-for-script temporarily
https://github.com/NixOS/nixpkgs/pull/241973/files#diff-ad0db3f4b3d5cdddf08d7a7d16c7fc1502c54b9ce56b09077879a4c157cd6374R1065
This commit is contained in:
parent
66ff528912
commit
f5c6d3f72c
|
@ -344,12 +344,12 @@ in {
|
||||||
Group = "matrix-synapse";
|
Group = "matrix-synapse";
|
||||||
Slice = "system-matrix-synapse.slice";
|
Slice = "system-matrix-synapse.slice";
|
||||||
WorkingDirectory = cfg.dataDir;
|
WorkingDirectory = cfg.dataDir;
|
||||||
ExecStartPre = pkgs.writers.writeBash "wait-for-synapse" ''
|
# ExecStartPre = pkgs.writers.writeBash "wait-for-synapse" ''
|
||||||
# From https://md.darmstadt.ccc.de/synapse-at-work
|
# # From https://md.darmstadt.ccc.de/synapse-at-work
|
||||||
while ! systemctl is-active -q matrix-synapse.service; do
|
# while ! systemctl is-active -q matrix-synapse.service; do
|
||||||
sleep 1
|
# sleep 1
|
||||||
done
|
# done
|
||||||
'';
|
# '';
|
||||||
ExecStart = let
|
ExecStart = let
|
||||||
flags = lib.cli.toGNUCommandLineShell {} {
|
flags = lib.cli.toGNUCommandLineShell {} {
|
||||||
config-path = [ matrix-synapse-common-config (workerConfig worker) ] ++ cfg.extraConfigFiles;
|
config-path = [ matrix-synapse-common-config (workerConfig worker) ] ++ cfg.extraConfigFiles;
|
||||||
|
|
Loading…
Reference in New Issue