[ntp:questions] Handle ntp conf modification when ntp is already running

William Unruh unruh at invalid.ca
Tue Apr 8 21:49:49 UTC 2014


On 2014-04-08, Arthur Lambert <lambertarthur22 at gmail.com> wrote:
> Hi,
>
> I am currently using ntpd for my project. My need is to be able to use
> new ntp url when I put a new url in ntp.conf even if the ntp daemon is
> already running. Currently, I need to kill and reboot ntpd to be able
> to use the new ntp url set in my configuration file. i guess that my
> solution right now is to start ntpd in a hat process to be able to
> restart it if I detect a change in ntp conf file.
>
> Do I have really to restart ntpd to see new ntp url ? I tried to check
> option on ntpd to find a way to handle this case but I am not able to
> see this feature in the current implementation of ntpd

I believe you can tell ntpd anthing that ntp.conf would by using ntpq.
I do not believe that there is a way of telling it to reread the .conf
file. 



More information about the questions mailing list