summaryrefslogtreecommitdiff
path: root/units/systemd-journald.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-11-27 21:18:28 +0100
committerLennart Poettering <lennart@poettering.net>2020-01-31 15:04:24 +0100
commit340cb115b388f4b55047c9dbf7241cbebe924d0b (patch)
treea699082368b5c7cf0187130eb2107218c116f316 /units/systemd-journald.service.in
parent5591cd4e204143731c1ef85b5fb5614dabee8d0b (diff)
downloadsystemd-340cb115b388f4b55047c9dbf7241cbebe924d0b.tar.gz
units: define RuntimeDirectory= in systemd-journald.service
It doesn't get us much, but makes the differences between the templated and non-templated versions a bit smaller.
Diffstat (limited to 'units/systemd-journald.service.in')
-rw-r--r--units/systemd-journald.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in
index 0233f389cf..5144868bcb 100644
--- a/units/systemd-journald.service.in
+++ b/units/systemd-journald.service.in
@@ -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