X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-timesyncd.service.in;h=e279d1bc29f054c5f996abc3dc004dde20767c74;hb=e3ad07d21c3592525ee2f4760ea114bbaa9752a9;hp=4a363f71cae23978255f0f80905b6d511b076cb7;hpb=a91df40e69fec72cc98c9829721fa5153da28bc2;p=elogind.git diff --git a/units/systemd-timesyncd.service.in b/units/systemd-timesyncd.service.in index 4a363f71c..e279d1bc2 100644 --- a/units/systemd-timesyncd.service.in +++ b/units/systemd-timesyncd.service.in @@ -9,12 +9,14 @@ Description=Network Time Synchronization Documentation=man:systemd-timesyncd.service(8) ConditionCapability=CAP_SYS_TIME +After=systemd-networkd.service [Service] Type=notify Restart=always RestartSec=0 ExecStart=@rootlibexecdir@/systemd-timesyncd +CapabilityBoundingSet=CAP_SYS_TIME [Install] WantedBy=multi-user.target