mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
nixos/lxd-agent: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
54064109fb
commit
07004b46ac
|
@ -56,6 +56,8 @@ in {
|
|||
systemd.services.lxd-agent = {
|
||||
enable = true;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
before = [ "shutdown.target" ];
|
||||
conflicts = [ "shutdown.target" ];
|
||||
path = [ pkgs.kmod pkgs.util-linux ];
|
||||
|
||||
preStart = preStartScript;
|
||||
|
|
Loading…
Reference in a new issue