mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00: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
|
@ -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…
Reference in a new issue