mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/lxd-agent: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
54064109fb
commit
07004b46ac
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue