1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

systemd: fix permissions on /var/log/journal

This commit is contained in:
Matej Cotman 2014-12-28 07:33:59 +01:00
parent fb3f5fc7db
commit 9eb24c72ff

View file

@ -1032,6 +1032,11 @@ in
''
# This file is created automatically and should not be modified.
# Please change the option systemd.tmpfiles.rules instead.
z /var/log/journal 2755 root systemd-journal - -
z /var/log/journal/%m 2755 root systemd-journal - -
z /var/log/journal/%m/* 0640 root systemd-journal - -
${concatStringsSep "\n" cfg.tmpfiles.rules}
'';