X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-hostnamed.service.in;h=cc88ecd0db28b79958e3ea8952cc6319e0706206;hp=c8bf8480c9762520b286ef0452da4daa2a1eb2bd;hb=309e9d86f0e7f9c5f0a2a09227bdfdb3174d4436;hpb=d99a70529637d44cdd8f6ade3b981ea33f09d90d diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index c8bf8480c..cc88ecd0d 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -13,7 +13,10 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed [Service] ExecStart=@rootlibexecdir@/systemd-hostnamed BusName=org.freedesktop.hostname1 -CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE +CapabilityBoundingSet=CAP_SYS_ADMIN WatchdogSec=1min PrivateTmp=yes PrivateDevices=yes +PrivateNetwork=yes +ProtectSystem=yes +ProtectHome=yes