From 3bc072ad9cc6b0789a591cc1285d7e43a70ac197 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 9 Sep 2021 09:57:15 +0200 Subject: [PATCH] net/chrony: Adjust chronyc timeouts (#2460) --- net/chrony/Makefile | 2 +- net/chrony/pkg-descr | 4 ++++ .../opnsense/service/conf/actions.d/actions_chrony.conf | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/net/chrony/Makefile b/net/chrony/Makefile index 8ca31c20b..d87cafe8e 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -1,5 +1,5 @@ PLUGIN_NAME= chrony -PLUGIN_VERSION= 1.3 +PLUGIN_VERSION= 1.4 PLUGIN_COMMENT= Chrony time synchronisation PLUGIN_DEPENDS= chrony PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/net/chrony/pkg-descr b/net/chrony/pkg-descr index a6283aec5..eb87118f7 100644 --- a/net/chrony/pkg-descr +++ b/net/chrony/pkg-descr @@ -4,6 +4,10 @@ better in virtual environments. Plugin Changelog ---------------- +1.4 + +* Adjust timeouts and retries for chronyc + 1.3 * Add makestep to configuration diff --git a/net/chrony/src/opnsense/service/conf/actions.d/actions_chrony.conf b/net/chrony/src/opnsense/service/conf/actions.d/actions_chrony.conf index 10b185b46..cc0beb772 100644 --- a/net/chrony/src/opnsense/service/conf/actions.d/actions_chrony.conf +++ b/net/chrony/src/opnsense/service/conf/actions.d/actions_chrony.conf @@ -23,25 +23,25 @@ type:script_output message:request chrony status [chronysources] -command:/usr/local/bin/chronyc sources +command:/usr/local/bin/chronyc -m 'timeout 100' 'retries 0' sources parameters: type:script_output message:show chrony sources [chronysourcestats] -command:/usr/local/bin/chronyc sourcestats +command:/usr/local/bin/chronyc -m 'timeout 100' 'retries 0' sourcestats parameters: type:script_output message:show chrony sourcestats [chronytracking] -command:/usr/local/bin/chronyc tracking +command:/usr/local/bin/chronyc -m 'timeout 100' 'retries 0' tracking parameters: type:script_output message:show chrony tracking [chronyauthdata] -command:/usr/local/bin/chronyc -N authdata +command:/usr/local/bin/chronyc -N -m 'timeout 100' 'retries 0' authdata parameters: type:script_output message:show chrony authdata