nixos/tests/dhparams: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
0a226a0639
commit
d8c9b26a16
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue