nixos/apparmor: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
28bb97817f
commit
454f3cb58d
1 changed files with 2 additions and 1 deletions
|
@ -164,7 +164,8 @@ in
|
|||
"local-fs.target"
|
||||
"systemd-journald-audit.socket"
|
||||
];
|
||||
before = [ "sysinit.target" ];
|
||||
before = [ "sysinit.target" "shutdown.target" ];
|
||||
conflicts = [ "shutdown.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
unitConfig = {
|
||||
Description="Load AppArmor policies";
|
||||
|
|
Loading…
Reference in a new issue