| # |
| # Copyright 2020 Google LLC |
| # |
| # This program is free software; you can redistribute it and/or |
| # modify it under the terms of the GNU General Public License |
| # version 2 as published by the Free Software Foundation. |
| # |
| # This program is distributed in the hope that it will be useful, |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| # GNU General Public License for more details. |
| # |
| # Use public NTP servers from the pool.ntp.org project. |
| pool pool.ntp.org iburst |
| |
| # Record the rate at which the system clock gains/losses time. |
| driftfile /var/lib/chrony/drift |
| |
| # Allow the system clock to be stepped in the first three updates |
| # if its offset is larger than 1 second. |
| makestep 1.0 3 |
| |
| # Enable kernel synchronization of the real-time clock (RTC). |
| rtcsync |
| |
| # Switch to user ntp from root |
| user ntp |