1
0
Fork 1
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:
r-vdp 2024-09-04 09:57:27 +02:00
parent 544c97226d
commit 38d73e0c07
No known key found for this signature in database

View file

@ -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 = {