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=d7fd1940f31bf7d996d732a489f7f6d87a56b615;hb=309e9d86f0e7f9c5f0a2a09227bdfdb3174d4436;hpb=49dbfa7b2b0bf3906704dac1eaeb4eba91056a19 diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index d7fd1940f..cc88ecd0d 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -7,11 +7,16 @@ [Unit] Description=Hostname Service -Documentation=man:hostname(5) -Documentation=man:machine-info(5) +Documentation=man:systemd-hostnamed.service(8) man:hostname(5) man:machine-info(5) Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed [Service] ExecStart=@rootlibexecdir@/systemd-hostnamed BusName=org.freedesktop.hostname1 CapabilityBoundingSet=CAP_SYS_ADMIN +WatchdogSec=1min +PrivateTmp=yes +PrivateDevices=yes +PrivateNetwork=yes +ProtectSystem=yes +ProtectHome=yes