chiark / gitweb /
units: make use of PrivateTmp=yes and PrivateDevices=yes for all our long-running...
[elogind.git] / units / systemd-hostnamed.service.in
index 3f5ef75c0b57e9627748117eb02832eba689d314..c8bf8480c9762520b286ef0452da4daa2a1eb2bd 100644 (file)
@@ -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