[systemd-devel] Upstream service file for NTP daemon chrony

David Strauss david at davidstrauss.net
Mon Jul 2 13:04:33 PDT 2012


On Fri, Jun 29, 2012 at 4:00 PM, Paul Menzel
<paulepanter at users.sourceforge.net> wrote:
> Additionally `After=nss-lockup.target` should be set, so that the NTP
> daemon actually finds a NTP server.

Also, is this necessary? Can't chronyd just fail to sync NTP until it
works? There's value to an NTP daemon running even if it lacks
upstream sync sources for a while.

I'm also generally skeptical of After= without a corresponding
Requires= entry because it only affects the ordering if the other unit
is already present in the working set of services then being started.
If something's required to happen before a unit, you need both.

-- 
David Strauss
   | david at davidstrauss.net


More information about the systemd-devel mailing list