From b19a14d0b67db63a6b2d3519c8bb4c9f3cf9cbdb Mon Sep 17 00:00:00 2001 From: Zareen Choudhury Date: Wed, 24 Jan 2018 16:16:26 -0500 Subject: [PATCH] Add iburst option to chrony config and copy config to /etc/chrony/ --- README.md | 9 +++++---- chrony_canopy_client.conf | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c93c0f0..3c34301 100644 --- a/README.md +++ b/README.md @@ -7,19 +7,20 @@ See the [Canopy docs](http://canopy-docs.readthedocs.io/en/latest/client-docs.ht ## Clock Synchronization This section describes the _client-side_ instructions for synchronizing the clocks of your Canopy clients and the Canopy server using `chrony`. -Install chrony: +Install chrony and copy the configuration file to `/etc/chrony`: ``` sudo apt-get install chrony +sudo cp chrony_canopy_client.conf /etc/chrony ``` -Modify the chrony configuration file `chrony_canopy_client.conf` to reflect your Canopy server's IP address: +Modify the chrony configuration file `/etc/chrony/chrony_canopy_client.conf` to reflect your Canopy server's IP address: ``` -# chrony_canopy_client.conf +# /etc/chrony/chrony_canopy_client.conf server 128.31.37.168 ... ``` Restart chrony with this configuration file: ``` -sudo chronyd -f /chrony_canopy_client.conf -r -s +sudo chronyd -f /etc/chrony/chrony_canopy_client.conf -r -s ``` diff --git a/chrony_canopy_client.conf b/chrony_canopy_client.conf index b805e8f..e0f9d5a 100644 --- a/chrony_canopy_client.conf +++ b/chrony_canopy_client.conf @@ -1,5 +1,5 @@ # To synchronize client to server, uncomment line below and replace IP with server's IP: -# server 123.123.12.12 +# server 123.123.12.12 iburst maxupdateskew 5