diff options
author | Philip Taron <philip.taron@gmail.com> | 2023-11-30 15:45:52 -0800 |
---|---|---|
committer | Philip Taron <philip.taron@gmail.com> | 2023-11-30 15:45:52 -0800 |
commit | d8c9b26a16086d5e900a7c7a8577837860fc973f (patch) | |
tree | 7548d2705849ffdfd4b7b9e50243430e6970b075 /nixos/tests/dhparams.nix | |
parent | 0a226a0639f07ce59087850a9036df1cf20e8aac (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.nix | 2 |
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 |