Ajout openntpd
C'est mieux, comme ca on evitera les serveurs vraiment trop a l'ouest, du genre a etre a l'ouest de > 15mn ... darcs-hash:20080808063010-ddb99-0b59f02d0ad857d5fc9c0caef2c92e5c1b42887b.gz
This commit is contained in:
parent
184ca133f2
commit
78301255ad
4 changed files with 36 additions and 0 deletions
27
Python/etc/openntpd/ntpd.conf
Normal file
27
Python/etc/openntpd/ntpd.conf
Normal file
|
@ -0,0 +1,27 @@
|
|||
include("ip")
|
||||
|
||||
if has("ntp-server"):
|
||||
@# Addresses to listen on (ntpd does not listen by default)
|
||||
print "listen on %s" % admip()
|
||||
print "listen on %s" % pubip()
|
||||
@listen on 127.0.0.1
|
||||
@#listen on ::1
|
||||
@
|
||||
@# sync to a single server
|
||||
@#server ntp.adm.crans.org
|
||||
@
|
||||
@# use a random selection of 8 public stratum 2 servers
|
||||
@# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
|
||||
@servers pool.ntp.org
|
||||
else:
|
||||
@# Addresses to listen on (ntpd does not listen by default)
|
||||
@#listen on *
|
||||
@#listen on 127.0.0.1
|
||||
@#listen on ::1
|
||||
@
|
||||
@# sync to a single server
|
||||
@server ntp.adm.crans.org
|
||||
@
|
||||
@# use a random selection of 8 public stratum 2 servers
|
||||
@# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
|
||||
@#servers pool.ntp.org
|
Loading…
Add table
Add a link
Reference in a new issue