nixos/tests/dhparams: ensure correct ordering w.r.t. shutdown.target

This commit is contained in:
Philip Taron 2023-11-30 15:45:52 -08:00
parent 0a226a0639
commit d8c9b26a16
No known key found for this signature in database

View File

@ -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