mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
net-misc/chrony: Fix paths to config file
OpenRC only; systemd unaffected by issue. New "capsified" versions will use new config file, current stable chrony now has a fixed file. Revbump is complicated here given -r3, ..., already exists. This should not have affected many users so this seems like the simplest solution. Closes: https://bugs.gentoo.org/719876 Signed-off-by: Sam James (sam_c) <sam@cmpct.info> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
@@ -51,7 +51,7 @@ src_prepare() {
|
||||
doc/* examples/* || die
|
||||
|
||||
# Copy for potential user fixup
|
||||
cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
|
||||
cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
|
||||
cp examples/chronyd.service "${T}"/chronyd.service
|
||||
|
||||
# Set config for privdrop
|
||||
|
||||
@@ -53,7 +53,7 @@ src_prepare() {
|
||||
doc/* examples/* || die
|
||||
|
||||
# Copy for potential user fixup
|
||||
cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
|
||||
cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
|
||||
cp examples/chronyd.service "${T}"/chronyd.service
|
||||
|
||||
# Set config for privdrop
|
||||
|
||||
@@ -53,7 +53,7 @@ src_prepare() {
|
||||
doc/* examples/* || die
|
||||
|
||||
# Copy for potential user fixup
|
||||
cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
|
||||
cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
|
||||
cp examples/chronyd.service "${T}"/chronyd.service
|
||||
|
||||
# Set config for privdrop
|
||||
|
||||
@@ -50,7 +50,7 @@ src_prepare() {
|
||||
doc/* examples/* || die
|
||||
|
||||
# Copy for potential user fixup
|
||||
cp "${FILESDIR}"/chronyd.conf "${T}"/chronyd.conf
|
||||
cp "${FILESDIR}"/chronyd.conf-r1 "${T}"/chronyd.conf
|
||||
cp examples/chronyd.service "${T}"/chronyd.service
|
||||
|
||||
# Set config for privdrop
|
||||
|
||||
@@ -9,4 +9,4 @@ CFGFILE="/etc/chrony/chrony.conf"
|
||||
# The combination of "-s -r" allows chronyd to perform long term averaging of
|
||||
# the gain or loss rate across system reboots and shutdowns.
|
||||
|
||||
ARGS="-u ntp -F 1"
|
||||
ARGS=""
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# /etc/conf.d/chronyd
|
||||
|
||||
CFGFILE="/etc/chrony/chrony.conf"
|
||||
|
||||
# Configuration dependant options :
|
||||
# -s - Set system time from RTC if rtcfile directive present
|
||||
# -r - Reload sample histories if dumponexit directive present
|
||||
#
|
||||
# The combination of "-s -r" allows chronyd to perform long term averaging of
|
||||
# the gain or loss rate across system reboots and shutdowns.
|
||||
|
||||
ARGS="-u ntp -F 1"
|
||||
Reference in New Issue
Block a user