Bläddra i källkod

use the geo located ntp servers for everyone

still allow people to override them in defaults.yml
Joost Baaij 10 år sedan
förälder
incheckning
0257797282
3 ändrade filer med 7 tillägg och 16 borttagningar
  1. 7
    1
      vars/defaults.yml
  2. 0
    6
      vars/testing.yml
  3. 0
    9
      vars/user.yml

+ 7
- 1
vars/defaults.yml Visa fil

@@ -14,11 +14,17 @@ friendly_networks:
14 14
 
15 15
 # ntp
16 16
 ntp_servers:
17
-  # use a random selection of worldwide servers by default.
17
+  # use nearby ntp servers by default
18 18
   - 0.pool.ntp.org
19 19
   - 1.pool.ntp.org
20 20
   - 2.pool.ntp.org
21 21
   - 3.pool.ntp.org
22
+  # use servers tailored to the server location
23
+  # See http://www.pool.ntp.org/en/use.html
24
+  # - 0.north-america.pool.ntp.org
25
+  # - 1.north-america.pool.ntp.org
26
+  # - 2.north-america.pool.ntp.org
27
+  # - 3.north-america.pool.ntp.org
22 28
 
23 29
 # database
24 30
 db_admin_username: 'postgres'

+ 0
- 6
vars/testing.yml Visa fil

@@ -14,12 +14,6 @@ friendly_networks:
14 14
 db_admin_username: postgres
15 15
 db_admin_password: postgres
16 16
 
17
-ntp_servers:
18
-  - 0.north-america.pool.ntp.org
19
-  - 1.north-america.pool.ntp.org
20
-  - 2.north-america.pool.ntp.org
21
-  - 3.north-america.pool.ntp.org
22
-
23 17
 # ircbouncer
24 18
 irc_nick: sovereign
25 19
 irc_ident: sovereign

+ 0
- 9
vars/user.yml Visa fil

@@ -9,15 +9,6 @@ domain: TODO.com
9 9
 main_user_name: TODO
10 10
 encfs_password: TODO
11 11
 
12
-# ntp
13
-ntp_servers:
14
-  # preferably, use the ntp servers in your own country or continent
15
-  # See http://www.pool.ntp.org/en/use.html
16
-  - 0.north-america.pool.ntp.org
17
-  - 1.north-america.pool.ntp.org
18
-  - 2.north-america.pool.ntp.org
19
-  - 3.north-america.pool.ntp.org
20
-
21 12
 # database
22 13
 db_admin_username: postgres
23 14
 db_admin_password: TODO

Laddar…
Avbryt
Spara