about summary refs log tree commit diff
path: root/nixos/tests/dhparams.nix
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2023-11-30 15:45:52 -0800
committerPhilip Taron <philip.taron@gmail.com>2023-11-30 15:45:52 -0800
commitd8c9b26a16086d5e900a7c7a8577837860fc973f (patch)
tree7548d2705849ffdfd4b7b9e50243430e6970b075 /nixos/tests/dhparams.nix
parent0a226a0639f07ce59087850a9036df1cf20e8aac (diff)
nixos/tests/dhparams: ensure correct ordering w.r.t. shutdown.target
Diffstat (limited to 'nixos/tests/dhparams.nix')
-rw-r--r--nixos/tests/dhparams.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/dhparams.nix b/nixos/tests/dhparams.nix
index 021042fafdb10..8d7082c114001 100644
--- a/nixos/tests/dhparams.nix
+++ b/nixos/tests/dhparams.nix
@@ -18,6 +18,8 @@ import ./make-test-python.nix {
         systemd.services.foo = {
           description = "Check systemd Ordering";
           wantedBy = [ "multi-user.target" ];
+          before = [ "shutdown.target" ];
+          conflicts = [ "shutdown.target" ];
           unitConfig = {
             # This is to make sure that the dhparams generation of foo occurs
             # before this service so we need this service to start as early as