summaryrefslogtreecommitdiff
path: root/units/systemd-journal-gatewayd.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-19 23:08:39 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-19 23:25:28 +0100
commitf21a71a907a1b1289faec94559f4a1c111ea1d13 (patch)
treecc394761abfebfae95915282b0c8e7355170ac2a /units/systemd-journal-gatewayd.service.in
parent7181dbdb2e3112858d62bdaea4f0ad2ed685ccba (diff)
core: enable PrivateNetwork= for a number of our long running services where this is useful
Diffstat (limited to 'units/systemd-journal-gatewayd.service.in')
-rw-r--r--units/systemd-journal-gatewayd.service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in
index a01ce8da45..e8e571e692 100644
--- a/units/systemd-journal-gatewayd.service.in
+++ b/units/systemd-journal-gatewayd.service.in
@@ -14,6 +14,9 @@ ExecStart=@rootlibexecdir@/systemd-journal-gatewayd
User=systemd-journal-gateway
Group=systemd-journal-gateway
SupplementaryGroups=systemd-journal
+PrivateTmp=yes
+PrivateDevices=yes
+PrivateNetwork=yes
[Install]
Also=systemd-journal-gatewayd.socket