From 92e9c1aac71db2860257080a8c3311243ac13e45 Mon Sep 17 00:00:00 2001 From: Ricardo F Date: Fri, 19 May 2017 17:41:32 +0200 Subject: Adding installation info --- README | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README b/README index 1a6ff66..ebb4993 100644 --- a/README +++ b/README @@ -16,3 +16,15 @@ introduce some other problems. So, I'm introducing systemd-timesyncd-wait. It is a service that listens for messages from systemd-timesyncd, and block until it sees a message indicating that systemd-timesyncd has synchronized the time. + +### Requirements + + go > 1.4 + make + + +### Installation + +Clone the repo and execute: + + make && make install -- cgit v1.2.3-54-g00ecf From b018fd33f4ba54c2d86ad526a07eb5b69444cc6c Mon Sep 17 00:00:00 2001 From: Ricardo F Date: Fri, 19 May 2017 17:42:04 +0200 Subject: Rename readme to .md --- README | 30 ------------------------------ README.md | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index ebb4993..0000000 --- a/README +++ /dev/null @@ -1,30 +0,0 @@ -Proper time-sync.target support for systemd-timesyncd - -This package essentially just works around - https://github.com/systemd/systemd/issues/5097 - -systemd.special(7) tells us that "All services where correct time is -essential should be ordered after [time-sync.target]". However, -systemd-timesyncd allows time-sync.target to be reached before -timesyncd has actually synchronized the time. This is because it -sends READY=1 as soon as the daemon has initialized, rather that -waiting until it has successfully synchronized to an NTP server. - -It would be trivial to patch timesyncd to wait, but that would -introduce some other problems. - -So, I'm introducing systemd-timesyncd-wait. It is a service that -listens for messages from systemd-timesyncd, and block until it sees a -message indicating that systemd-timesyncd has synchronized the time. - -### Requirements - - go > 1.4 - make - - -### Installation - -Clone the repo and execute: - - make && make install diff --git a/README.md b/README.md new file mode 100644 index 0000000..ebb4993 --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +Proper time-sync.target support for systemd-timesyncd + +This package essentially just works around + https://github.com/systemd/systemd/issues/5097 + +systemd.special(7) tells us that "All services where correct time is +essential should be ordered after [time-sync.target]". However, +systemd-timesyncd allows time-sync.target to be reached before +timesyncd has actually synchronized the time. This is because it +sends READY=1 as soon as the daemon has initialized, rather that +waiting until it has successfully synchronized to an NTP server. + +It would be trivial to patch timesyncd to wait, but that would +introduce some other problems. + +So, I'm introducing systemd-timesyncd-wait. It is a service that +listens for messages from systemd-timesyncd, and block until it sees a +message indicating that systemd-timesyncd has synchronized the time. + +### Requirements + + go > 1.4 + make + + +### Installation + +Clone the repo and execute: + + make && make install -- cgit v1.2.3-54-g00ecf