[IRCServices] Reloading services config without restarting?

&quot &quot
Wed Oct 18 03:40:38 PDT 2000


Please move this thread to the coding list.

If you simply reload the config and you have an invalid value, services is
going to fall over - I think - I've not really tested this.

Andrew

----- Original Message -----
From: <dreamer at darkness.gr>
To: <ircservices at snow.shadowfire.org>
Sent: Wednesday, October 18, 2000 11:35 AM
Subject: RE: [IRCServices] Reloading services config without restarting?


> Greetings all, but sure, there is one. The function (read_config) that is
> primary called every time services are loading. It is simple as this :
>
>
> static void do_rehash(User *u)
> {
>     if(read_config(1))
>         wallops(s_OperServ, "Services root is rehashing config file while
whistling innocently");
>     else
>         wallops(s_OperServ, "An error occured loading services
configuration");
> }
>
>
> Sorry for posting parts of code here.
>
> Regards,
> Nick Krassas
> ircadmin at darkness.irc.gr
>
>
>
>
> > I've been wondering this myself actually.... Sure would be nice if there
> > was.
> >
> > Adam
>
> >
> > Hi there
> >
> > I was wondering if there was a way to reload the IRCServices config file
> > without restarting services .. like a /rehash for services.
> >
> > Thanks,
> >
> > Tim
>
>
> ---------------------------------------------------------------
> To unsubscribe, send email to majordomo at snow.shadowfire.org
> with "unsubscribe ircservices" in the body, without the quotes.
>


---------------------------------------------------------------
To unsubscribe, send email to majordomo at snow.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.