diff --git a/templates/chrony.conf.j2 b/templates/chrony.conf.j2 index f527468..a244bc5 100644 --- a/templates/chrony.conf.j2 +++ b/templates/chrony.conf.j2 @@ -79,7 +79,7 @@ ntsdumpdir /var/lib/chrony # Limit maximum root distance. maxdistance {{ timesync_max_distance }} -{% if __timesync_chrony_version is version('4.0', '>=') and timesync_chrony_leapsectz %} +{% if timesync_chrony_leapsectz %} leapsectz timesync_chrony_leapsectz {% endif %}