mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
nixos/tests/dhparams: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
0a226a0639
commit
d8c9b26a16
@ -18,6 +18,8 @@ import ./make-test-python.nix {
|
|||||||
systemd.services.foo = {
|
systemd.services.foo = {
|
||||||
description = "Check systemd Ordering";
|
description = "Check systemd Ordering";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
before = [ "shutdown.target" ];
|
||||||
|
conflicts = [ "shutdown.target" ];
|
||||||
unitConfig = {
|
unitConfig = {
|
||||||
# This is to make sure that the dhparams generation of foo occurs
|
# 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
|
# before this service so we need this service to start as early as
|
||||||
|
Loading…
Reference in New Issue
Block a user