mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
auditd: add a dependency on systemd-tmpfiles-setup
This is needed so that: - users have been created (when using systemd-sysusers or userborn) - /run and /var/run exist
This commit is contained in:
parent
544c97226d
commit
38d73e0c07
1 changed files with 9 additions and 2 deletions
|
@ -15,8 +15,15 @@
|
|||
|
||||
systemd.services.auditd = {
|
||||
description = "Linux Audit daemon";
|
||||
wantedBy = [ "basic.target" ];
|
||||
before = [ "shutdown.target" ];
|
||||
wantedBy = [ "sysinit.target" ];
|
||||
after = [
|
||||
"local-fs.target"
|
||||
"systemd-tmpfiles-setup.service"
|
||||
];
|
||||
before = [
|
||||
"sysinit.target"
|
||||
"shutdown.target"
|
||||
];
|
||||
conflicts = [ "shutdown.target" ];
|
||||
|
||||
unitConfig = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue