summaryrefslogtreecommitdiffstats
path: root/units/systemd-journald.service.in
diff options
context:
space:
mode:
authorTopi Miettinen <toiwoton@gmail.com>2019-02-18 23:30:12 +0100
committerTopi Miettinen <toiwoton@gmail.com>2019-02-20 09:50:44 +0100
commit99894b867f1293f56d181d62f5015c5a0a8adbda (patch)
tree9b5dd7abaeee2127719bb3cc5baa4889df4e5bb0 /units/systemd-journald.service.in
parentcore: ProtectHostname= feature (diff)
downloadsystemd-99894b867f1293f56d181d62f5015c5a0a8adbda.tar.xz
systemd-99894b867f1293f56d181d62f5015c5a0a8adbda.zip
units: enable ProtectHostname=yes
Diffstat (limited to 'units/systemd-journald.service.in')
-rw-r--r--units/systemd-journald.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in
index 4684f095c0..1807d73c68 100644
--- a/units/systemd-journald.service.in
+++ b/units/systemd-journald.service.in
@@ -23,6 +23,7 @@ IPAddressDeny=any
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
+ProtectHostname=yes
Restart=always
RestartSec=0
RestrictAddressFamilies=AF_UNIX AF_NETLINK