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
5
Bundler/openntpd.xml
Normal file
5
Bundler/openntpd.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<Bundle name="openntpd">
|
||||||
|
<ConfigFile name="/etc/openntpd/ntpd.conf"/>
|
||||||
|
<Package name="openntpd"/>
|
||||||
|
<Service name="openntpd"/>
|
||||||
|
</Bundle>
|
|
@ -59,6 +59,7 @@
|
||||||
<Group name="https-server"/>
|
<Group name="https-server"/>
|
||||||
<Group name="imap-server"/>
|
<Group name="imap-server"/>
|
||||||
<Group name="pop-server"/>
|
<Group name="pop-server"/>
|
||||||
|
<Group name="ntp-server"/>
|
||||||
<Group name="backup-client"/>
|
<Group name="backup-client"/>
|
||||||
<Group name="ups-monitor"/>
|
<Group name="ups-monitor"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
@ -214,6 +215,7 @@
|
||||||
<Bundle name="logcheck"/>
|
<Bundle name="logcheck"/>
|
||||||
<Bundle name="nss"/>
|
<Bundle name="nss"/>
|
||||||
<Bundle name="monit"/>
|
<Bundle name="monit"/>
|
||||||
|
<Bundle name="openntpd"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<!-- +=============================+ -->
|
<!-- +=============================+ -->
|
||||||
|
|
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
|
|
@ -40,6 +40,8 @@
|
||||||
|
|
||||||
<Service name="rsync" status="on"/>
|
<Service name="rsync" status="on"/>
|
||||||
|
|
||||||
|
<Service name="openntpd" status="on"/>
|
||||||
|
|
||||||
<Service name="ssh" status="on"/>
|
<Service name="ssh" status="on"/>
|
||||||
|
|
||||||
<Service name="autofs" status="on"/>
|
<Service name="autofs" status="on"/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue