Services sync #5

Merged
zeridon merged 7 commits from services-sync into master 2022-10-10 11:14:01 +03:00
1 changed files with 42 additions and 0 deletions
Showing only changes of commit 5a40d54eee - Show all commits

42
etc/ntp.conf Normal file
View File

@ -0,0 +1,42 @@
#
# Ansible managed
#
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
driftfile /var/lib/ntp/ntp.drift
# Enable this if you want statistics to be logged.
#statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
pool bg.pool.ntp.org minpoll 4 maxpoll 10 iburst burst
server marla.ludost.net minpoll 4 maxpoll 10 iburst burst
server tryler.ludost.net minpoll 4 maxpoll 10 iburst burst
# hard backup
pool 2.bg.pool.ntp.org minpoll 4 maxpoll 10 iburst burst
# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
# details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
# might also be helpful.
#
# Note that "restrict" applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.
# By default, exchange time with everybody, but don't allow configuration.
restrict -4 default kod notrap nomodify nopeer noquery limited
restrict -6 default kod notrap nomodify nopeer noquery limited
# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict ::1
# Needed for adding pool entries
restrict source notrap nomodify noquery