]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: define RuntimeDirectory= in systemd-journald.service
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Nov 2019 20:18:28 +0000 (21:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 31 Jan 2020 14:04:24 +0000 (15:04 +0100)
It doesn't get us much, but makes the differences between the templated
and non-templated versions a bit smaller.

units/systemd-journald.service.in

index 0233f389cf737b6005d9336363d12ca4d3e4f75e..5144868bcb711912e5b640f27b6eca8bcca3c767 100644 (file)
@@ -31,6 +31,8 @@ RestrictAddressFamilies=AF_UNIX AF_NETLINK
 RestrictNamespaces=yes
 RestrictRealtime=yes
 RestrictSUIDSGID=yes
+RuntimeDirectory=systemd/journal
+RuntimeDirectoryPreserve=yes
 Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
 StandardOutput=null
 SystemCallArchitectures=native