From 0e2531bcb663a6fe8ae14db7afe9a314c7e1b4f5 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Fri, 26 Jul 2024 20:22:27 -0400 Subject: [PATCH] fixing bugs in server_tools --- flake.lock | 12 ++++++------ systems/jeeves-jr/services.nix | 2 ++ systems/jeeves/services.nix | 2 ++ systems/palatine-hill/services.nix | 2 ++ 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 2ddb37b..ed5e373 100644 --- a/flake.lock +++ b/flake.lock @@ -468,11 +468,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1719850884, - "narHash": "sha256-UU/lVTHFx0GpEkihoLJrMuM9DcuhZmNe3db45vshSyI=", + "lastModified": 1721039874, + "narHash": "sha256-XANsG9GYHip8pxZpbqKf/YGv8tIa0xTh289Y+WNBNfw=", "owner": "nix-community", "repo": "poetry2nix", - "rev": "42262f382c68afab1113ebd1911d0c93822d756e", + "rev": "d11c01e58587e5f21037ed6477465a7f26a32e27", "type": "github" }, "original": { @@ -604,11 +604,11 @@ "poetry2nix": "poetry2nix" }, "locked": { - "lastModified": 1721081006, - "narHash": "sha256-8ss+bdxJ80LiUq0LXWUHX4aWkiU7QvcYHDA4nxCLItE=", + "lastModified": 1722039234, + "narHash": "sha256-59r3g40zJKZLycB/1coIYWP/4FSQD8JVXg3WroYoDH8=", "owner": "RAD-Development", "repo": "server_tools", - "rev": "8417f19c4fc9c7573c5754b557b5f36376e7176c", + "rev": "955cad797a67b4e62004d2d19bc7e5cf8c0595e6", "type": "github" }, "original": { diff --git a/systems/jeeves-jr/services.nix b/systems/jeeves-jr/services.nix index 20dc8e6..3efbe12 100644 --- a/systems/jeeves-jr/services.nix +++ b/systems/jeeves-jr/services.nix @@ -7,6 +7,8 @@ { systemd = { services.startup_validation = { + requires = [ "network-online.target" ]; + after = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; description = "validates startup"; path = [ pkgs.zfs ]; diff --git a/systems/jeeves/services.nix b/systems/jeeves/services.nix index 4de20ec..962432d 100644 --- a/systems/jeeves/services.nix +++ b/systems/jeeves/services.nix @@ -15,6 +15,8 @@ }; }; startup_validation = { + requires = [ "network-online.target" ]; + after = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; description = "validates startup"; path = [ pkgs.zfs ]; diff --git a/systems/palatine-hill/services.nix b/systems/palatine-hill/services.nix index 7a8cd25..dc2a6a3 100644 --- a/systems/palatine-hill/services.nix +++ b/systems/palatine-hill/services.nix @@ -7,6 +7,8 @@ { systemd = { services.startup_validation = { + requires = [ "network-online.target" ]; + after = [ "network-online.target" ]; wantedBy = [ "multi-user.target" ]; description = "validates startup"; path = [ pkgs.zfs ];