X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-timesyncd.service.in;h=3a1bc48a91e91de6ba2eb8ded0dfe2fe55ccd2d0;hb=95ed3294c632f5606327149f10cef1eb34422862;hp=030e4a0423d16b4b2f1f18704493d31576e9852d;hpb=417116f23432073162ebfcb286a7800846482eed;p=elogind.git diff --git a/units/systemd-timesyncd.service.in b/units/systemd-timesyncd.service.in index 030e4a042..3a1bc48a9 100644 --- a/units/systemd-timesyncd.service.in +++ b/units/systemd-timesyncd.service.in @@ -14,6 +14,8 @@ RequiresMountsFor=/var/lib/systemd/clock After=systemd-remount-fs.service systemd-tmpfiles-setup.service Before=sysinit.target shutdown.target Conflicts=shutdown.target +Wants=time-sync.target +Before=time-sync.target [Service] Type=notify @@ -23,8 +25,8 @@ ExecStart=@rootlibexecdir@/systemd-timesyncd CapabilityBoundingSet=CAP_SYS_TIME CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER PrivateTmp=yes PrivateDevices=yes -ReadOnlySystem=yes -ProtectedHome=yes +ProtectSystem=full +ProtectHome=yes WatchdogSec=1min [Install]