Chrony with refclock

Hi,

We need to support a real time clock for our systems since they can be taken offline for long durations of time and require accurate time during those periods.
I have been able to add a separate chrony service within our container that references the gpsd device which will provide real time but it seems that service does not persist or is taken down due to running in parallel with the Host OS chrony service.

I wanted to better understand best practices to support this.
From what I can tell there is no way to modify the Host OS Chrony configuration file to add support for the gpsd device.
I am hesitant to stop the Host OS Chrony service and only run the one in our container as it is not totally clear to me what the implications of that are and I don’t want to brick the devices.
I also don’t think running two chrony services simultaneously is a good approach and again the implications of this are also a bit unclear to me.

Please let me know how we can best solve this.
Thanks!
Sophia

We would love a method to have full control over the chrony configuration used by the host OS.
But until then, perhaps this helps: