summaryrefslogtreecommitdiff
path: root/units/systemd-hostnamed.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-19 16:45:28 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-19 19:09:00 +0100
commitd99a70529637d44cdd8f6ade3b981ea33f09d90d (patch)
tree8a6633cb6e978c21820e0a621a12d29fe169bfee /units/systemd-hostnamed.service.in
parent7973ca1927e1f3bac9438f3529458c9ff868905d (diff)
units: make use of PrivateTmp=yes and PrivateDevices=yes for all our long-running daemons
Diffstat (limited to 'units/systemd-hostnamed.service.in')
-rw-r--r--units/systemd-hostnamed.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in
index 3f5ef75c0b..c8bf8480c9 100644
--- a/units/systemd-hostnamed.service.in
+++ b/units/systemd-hostnamed.service.in
@@ -15,3 +15,5 @@ ExecStart=@rootlibexecdir@/systemd-hostnamed
BusName=org.freedesktop.hostname1
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE
WatchdogSec=1min
+PrivateTmp=yes
+PrivateDevices=yes