Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Restarting ntpd: (3 Items)
   
Restarting ntpd  
Hi ,

  I am adding new public server ip address to ntp.conf file.During run time i want to restart the ntpd after 
reconfiguring. I tried with SIGHUP

kill -SIGHUP ntpdpid 

It's killing the ntpd but not restarting ntpd.please let me know the solution.
RE: Restarting ntpd  
Unlike other unix-like-services, the ntpd does not handle SIGHUP so the
SIGHUP simply terminates the ntpd. I think you may write a wrapper, for
example a shell script, in which ntpd is in a loop so after it restarts
after being terminated. 

Thanks
Weijie

-----Original Message-----
From: RAHUL SABLE [mailto:community-noreply@qnx.com] 
Sent: February 24, 2009 5:44 AM
To: general-networking
Subject: Restarting ntpd

Hi ,

  I am adding new public server ip address to ntp.conf file.During run
time i want to restart the ntpd after reconfiguring. I tried with SIGHUP

kill -SIGHUP ntpdpid 

It's killing the ntpd but not restarting ntpd.please let me know the
solution.

_______________________________________________
General
http://community.qnx.com/sf/go/post22795
Re: RE: Restarting ntpd  
Thanks
-Rahul