summaryrefslogtreecommitdiffstats
path: root/units/systemd-journal-gatewayd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-journal-gatewayd.service.in')
-rw-r--r--units/systemd-journal-gatewayd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in
index ebc8bf9a25..0f16ae4ccb 100644
--- a/units/systemd-journal-gatewayd.service.in
+++ b/units/systemd-journal-gatewayd.service.in
@@ -22,6 +22,7 @@ PrivateDevices=yes
PrivateNetwork=yes
ProtectControlGroups=yes
ProtectHome=yes
+ProtectHostname=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6