[ntp:questions] Re: Source Code

Kenneth Porter shiva.blacklist at sewingwitch.com
Thu Feb 24 14:16:02 UTC 2005


ibuprofin at painkiller.example.tld (Moe Trin) wrote in
news:slrnd1qjpi.1sc.ibuprofin at compton.phx.az.us: 

> Perhaps reading the man page for the package manager (rpm) might give
> you a clue.  The syntax is 'rpm -e ntp'  though you probably want to
> shut down the daemon first.

RPM takes care of that. There's a %preun script in the RPM that issues 
"service ntpd stop". This is common with RPM's that supply daemons. Try 
"rpm -q --scripts ntp". You should also see a script that restarts the 
daemon following an upgrade.

If you enable the yum nightly updater, this will automatically restart 
daemons that get updated. (You should still watch for the appearance of 
.rpmnew and .rpmsave files which get created when the stock config file 
format or content changes.)



More information about the questions mailing list