void-packages/srcpkgs/ntp/files/ntp.conf
Juan RP 1400c0676a ntp: merge some improvements from NetBSD.
- Make the drift file available to the chroot dir.
- More restrictions added to the config file: kod, noquery.
2014-12-27 16:05:32 +01:00

17 lines
500 B
Text

# With the default settings below, ntpd will only synchronize your clock.
#
# For details, see:
# - the ntp.conf man page
# - http://support.ntp.org/bin/view/Support/GettingStarted
#
# Select three geolocalized NTP public servers; see http://www.pool.ntp.org/
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
# Only allow read-only access from localhost
restrict default kod noquery nomodify nopeer
restrict 127.0.0.1
# Location of drift and log files
driftfile /var/db/ntpd/drift