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=3f5ef75c0b57e9627748117eb02832eba689d314;hb=309e9d86f0e7f9c5f0a2a09227bdfdb3174d4436;hpb=cde93897cdefdd7c7f66c400a61e42ceee5f6a46 diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index 3f5ef75c0..cc88ecd0d 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -13,5 +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