Hi Klara,
thanks for raising this issue.
It has now been fixed in the latest patch set.
Cheers.
On Monday 11 April 2011 09:14:57 am Klara Mall wrote:
> Hi,
>
> I think it would be good if radiator would remove its pidfile before
> shutting down. Init scripts could be misguided by a stale pidfile.
>
> This would fix it:
>
> --- a/radiusd
> +++ b/radiusd
> @@ -306,6 +306,11 @@
> # Call the ShutdownHook, if there is one
> $main::config->runHook('ShutdownHook');
> &log($main::LOG_NOTICE, "SIGTERM received: stopping");
> + my $pidfile = &Radius::Util::format_special($main::config->{PidFile});
> + if ($pidfile ne '')
> + {
> + unlink $pidfile;
> + }
> }
>
> #####################################################################
>
>
> Regards
> Klara
--
Mike McCauley [email protected]
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au
Phone +61 7 5598-7474 Fax +61 7 5598-7070
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator