Skip to content

Commit

Permalink
Add proxy config to fix a problem with expecting config on incorrect …
Browse files Browse the repository at this point in the history
…path (#274)
  • Loading branch information
jakubno authored Feb 3, 2025
2 parents f902d7e + 0d55523 commit 9784577
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/template-manager/internal/build/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ refclock PHC /dev/ptp0 poll -1 dpoll -1 offset 0 trust prefer
makestep 1 -1
EOF

# Add a proxy config, as some environments expects it there (e.g. timemaster in Node Dockerimage)
echo "include /etc/chrony/chrony.conf" >/etc/chrony.conf

mkdir -p /etc/systemd/system/chrony.service.d
# The ExecStart= should be emptying the ExecStart= line in config.
cat <<EOF >/etc/systemd/system/chrony.service.d/override.conf
Expand Down

0 comments on commit 9784577

Please sign in to comment.