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=1ed942fe174524abc1778a315cd7b572585e3b28;hb=309e9d86f0e7f9c5f0a2a09227bdfdb3174d4436;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/units/systemd-hostnamed.service.in b/units/systemd-hostnamed.service.in index 1ed942fe1..cc88ecd0d 100644 --- a/units/systemd-hostnamed.service.in +++ b/units/systemd-hostnamed.service.in @@ -5,13 +5,18 @@ # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. -# See systemd.special(7) for details - [Unit] Description=Hostname Service +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 -Type=dbus BusName=org.freedesktop.hostname1 CapabilityBoundingSet=CAP_SYS_ADMIN +WatchdogSec=1min +PrivateTmp=yes +PrivateDevices=yes +PrivateNetwork=yes +ProtectSystem=yes +ProtectHome=yes