From b7c4c0dac6bdabccb6a8fa43754711135b052ff2 Mon Sep 17 00:00:00 2001 From: David Prevot Date: Thu, 24 Aug 2023 16:41:11 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d=E2=80=99information=20pour=20la=20con?= =?UTF-8?q?figuration=20de=20timesyncd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoNTP.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/HowtoNTP.md b/HowtoNTP.md index 5e690bec..c15f5560 100644 --- a/HowtoNTP.md +++ b/HowtoNTP.md @@ -216,8 +216,15 @@ NTP synchronized: yes Sun 2017-10-29 02:00:00 CET ~~~ -On peut également activer la synchronisation NTP directement avec [systemd](HowtoSystemd) via le fichier `/etc/systemd/timesyncd.conf` puis `timedatectl set-ntp true`, mais nous conseillons d'éviter sur un serveur. +On peut également activer la synchronisation NTP directement avec [systemd](HowtoSystemd) via le fichier `/etc/systemd/timesyncd.conf` puis `timedatectl set-ntp true`. +Il est possible de surcharger la configuration par défaut dans d’autres fichiers. + +~~~ +$ cat /etc/systemd/timesyncd.conf.d/example.conf +[Time] +NTP=ntp.example.net +~~~ ## Munin