X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-hostnamed.service.in;h=cc88ecd0db28b79958e3ea8952cc6319e0706206;hb=99cc7653a83af6647f28ac0cbedf6f6062e92b72;hp=44812592e22c036fabfd0f5c9dfa87a724bdc36a;hpb=f21a71a907a1b1289faec94559f4a1c111ea1d13;p=elogind.git diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index 44812592e..cc88ecd0d 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -13,8 +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