1
0
Fork 0

Adding upstream version 1.34.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-24 07:26:29 +02:00
parent e393c3af3f
commit 4978089aab
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4963 changed files with 677545 additions and 0 deletions

View file

@ -0,0 +1,11 @@
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst
driftfile /var/lib/chrony/chrony.drift
makestep 0.1 3
bindcmdaddress 0.0.0.0
cmdallow all
allow all

17
plugins/inputs/chrony/testdata/start.sh vendored Normal file
View file

@ -0,0 +1,17 @@
#!/bin/sh
# confirm correct permissions on chrony run directory
if [ -d /run/chrony ]; then
chown -R chrony:chrony /run/chrony
chmod o-rx /run/chrony
# remove previous pid file if it exist
rm -f /var/run/chrony/chronyd.pid
fi
# confirm correct permissions on chrony variable state directory
if [ -d /var/lib/chrony ]; then
chown -R chrony:chrony /var/lib/chrony
fi
## startup chronyd in the foreground
exec /usr/sbin/chronyd -u chrony -d -x -f /etc/telegraf-chrony.conf