<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Maybe start a github pull-request ? things seems to be less
    forgotten that way. <br>
    <br>
    since your code already exist, creating a first PR should not be too
    much work...<br>
    <br>
    <div class="moz-cite-prefix">On 19/03/2018 02:45, Peter A. Bigot
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:4d687561-c8a6-8d59-370e-8f022b8de1aa@pabigot.com">Like
      others I'd like to use systemd to defer starting a service until
      the system time has been set accurately.  Previous approaches to
      resolving issue #5097 don't seem to be going anywhere.
      <br>
      <br>
      <a class="moz-txt-link-freetext" href="https://github.com/pabigot/timesyncwait">https://github.com/pabigot/timesyncwait</a> has my proposed solution:
      a standalone service that blocks until adjtimex(2) confirms that
      something has told the kernel its realtime clock is synchronized.
      It also provides a new time-synchronized.target so it can be
      installed alongside an unmodified timesyncd.
      <br>
      <br>
      Initial tests show this meets my needs.  I'd be willing to rework
      it as a patch to systemd if there's consensus the approach is
      reasonable.
      <br>
      <br>
      Peter
      <br>
      <br>
      Mar 15 17:14:17 raspberrypi3 systemd[1]: Starting Wait Until
      Kernel Time Synchronized...
      <br>
      Mar 15 17:14:17 raspberrypi3 timesyncwait[107]: adjtime state 5
      status 40 time 1521134057.408590
      <br>
      Mar 19 01:04:35 raspberrypi3 timesyncwait[107]: adjtime state 0
      status 2000 time 1521421475.316852
      <br>
      Mar 19 01:04:35 raspberrypi3 systemd[1]: Started Wait Until Kernel
      Time Synchronized.
      <br>
      <br>
      References:
      <br>
      * <a class="moz-txt-link-freetext" href="https://github.com/systemd/systemd/issues/5097">https://github.com/systemd/systemd/issues/5097</a>
      <br>
      * <a class="moz-txt-link-freetext" href="https://github.com/LukeShu/systemd-timesyncd-wait">https://github.com/LukeShu/systemd-timesyncd-wait</a>
      <br>
      *
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/archives/systemd-devel/2014-November/025131.html">https://lists.freedesktop.org/archives/systemd-devel/2014-November/025131.html</a><br>
      *
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/archives/systemd-devel/2017-May/038952.html">https://lists.freedesktop.org/archives/systemd-devel/2017-May/038952.html</a><br>
      <br>
      <br>
      _______________________________________________
      <br>
      systemd-devel mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a>
      <br>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <div>
        <link href="https://fonts.googleapis.com/css?family=Raleway"
          rel="stylesheet" type="text/css">
        <font face="Raleway, regular">
          <table style="padding:20px;margin-bottom:-10px" border="0">
            <tbody>
              <tr>
                <td style="font-size:13px; color:#ff8054; text-align:
                  center; padding-right:30px"> <a
                    href="http://www.smile.eu/"> <img
                      style="max-width:100%; height:auto"
src="http://ftp.smile.fr/client/Communication/signature/img/Logo-new.png"
                      alt="SMILE"> </a><br>
                  <br>
                  <p style="line-heigth:8px">20 rue des Jardins<br>
                    92600 Asnières-sur-Seine</p>
                </td>
                <td style="border-left: 1px solid #3b7ffe;
                  padding-left:20px; font-size:13px; color:#ff8054;">
                  <div style="color:#ff8054; font-size:14px;"> <b>Jérémy
                      ROSEN</b> </div>
                  <div style="color:#3b7ffe; font-size:13px;">
                    Architecte technique<br>
                    Responsable de l'expertise Smile-ECS </div>
                  <br>
                  <div style="color:#3b7ffe; font-size:13px;"> <span
                      style="white-space: nowrap"><img
                        style="margin-right:5px"
                        src="http://ftp.smile.fr/client/Communication/signature/img/mail.png"
                        alt="email" height="10" width="12"> <a
                        href="mailto:jeremy.rosen@smile.fr"
                        style="color:#3b7ffe; font-size:13px;
                        text-decoration:none;">jeremy.rosen@smile.fr</a>
                    </span> <br>
                    <span style="white-space: nowrap"><img
                        style="margin-right:5px"
                        src="http://ftp.smile.fr/client/Communication/signature/img/phone.png"
                        alt="phone" height="10" width="10"></span>
                    +33141402967 <br>
                    <span style="white-space: nowrap"><img
                        style="margin-right:5px"
                        src="http://ftp.smile.fr/client/Communication/signature/img/web.png"
                        alt="url" height="12" width="12">
                      <a href="http://www.smile.eu"
                        style="color:#3b7ffe; font-size:13px;
                        text-decoration:none;">http://www.smile.eu</a> </span>
                  </div>
                  <br>
                  <div> <span><a style="margin-right:5px"
                        href="https://twitter.com/GroupeSmile"><img
src="http://ftp.smile.fr/client/Communication/signature/img/rs-twitter.png"
                          alt="Twitter" style="max-width:100%;
                          height:auto"></a></span> <span><a
                        style="margin-right:5px"
                        href="https://www.facebook.com/smileopensource"><img
src="http://ftp.smile.fr/client/Communication/signature/img/rs-facebook.png"
                          alt="Facebook" style="max-width:100%;
                          height:auto"></a></span> <span><a
                        style="margin-right:5px"
                        href="https://www.linkedin.com/company/smile"><img
src="http://ftp.smile.fr/client/Communication/signature/img/rs-linkedin.png"
                          alt="LinkedIn" style="max-width:100%;
                          height:auto"></a></span> <span><a
                        style="margin-right:5px"
                        href="https://github.com/Smile-SA"><img
src="http://ftp.smile.fr/client/Communication/signature/img/rs-github.png"
                          alt="Github" style="max-width:100%;
                          height:auto"></a></span> </div>
                </td>
              </tr>
            </tbody>
          </table>
          <br>
          <div> <a
href="http://smile.eu/?utm_source=signature&utm_medium=email&utm_campaign=signature"><img
src="http://signature.smile.eu/assets/img/bandeau_mail_smile2017.gif.gif"
                alt="Découvrez l’univers Smile, rendez-vous sur
                smile.eu" border="0"></a></div>
          <br>
          <div style="color:#a3acb5; font-size:10px;"> <img
              src="http://ftp.smile.fr/client/Communication/signature/img/eco.png"
              alt="eco" height="11" width="13"> Pour la planète,
            n'imprimez ce mail que si c'est nécessaire </div>
        </font>
      </div>
    </div>
  </body>
</html>