I have always used a killall -HUP radiusd in my scripts...works great. And yes I know all about the missing/incorrect PID file.
Joe Frank Cusack wrote: >On Thu, Feb 28, 2002 at 10:17:47AM -0800, Frank Cusack wrote: > >>On Thu, Feb 28, 2002 at 02:37:41PM -0300, Eduardo Roldan wrote: >> >>>Why the included init script(/redhat/rc.radiusd-redhat) takes the >>>arguments restart and reload as the same? >>> >>>I think that the restart command should do a STOP, START. And the reload >>>should send a HUP signal to the radiusd daemon to reload the >>>configuration files. I have changed my script to reflect this. There are >>>any drawbacks to make this the default behavior in the distributed >>>script? >>> >>Yeah, that should be the default behaviour. I'll commit a fix. >> > >I lied. :-) radiusd does not write a pidfile (even though it does parse >this arg from the config file). I am not sure how it will respond to >HUP on systems like Linux where each thread is seen as a process by most >utilities (like ps). So... I'll leave it for someone else to look at. > >/fc > >- >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > > > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
