Try harder to wait for the network before starting seaweedfs and nomad.

This commit is contained in:
2023-07-10 13:28:41 +01:00
parent e98172c572
commit 1e19bd1329
2 changed files with 5 additions and 3 deletions

View File

@@ -30,6 +30,8 @@ in
extraSettingsPaths = [ "/etc/nomad-alo.json" ];
};
systemd.services.nomad.wants = [ "network-online.target" ];
environment.etc."nomad-alo.json".text = builtins.toJSON {
plugin.docker.config = {
allow_privileged = true;