Re: [PATCH] Abstraction for config resources, allowing file, URL, pipe, etc.

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Kannel Software Foundation (KSF)
Message-ID <[email protected]>
Am 19.10.2012 19:22, schrieb Alvaro Cornejo:
> Hi Stipe
>
> What about a "fallback config" ?
>
> If kannel is started/restarted with the URL option and can't access
> the remote config file it wouldn't start

Hi Alvaro,

now, the "availability" of the config resource at the time the daemons 
is starting up and wants to "consume" the config resource is not 
specific to a URL resource.

Same is applicable for a local file. If you want to start it, and the 
local file is not available, i.e. because it resides on a distributed 
networked file system you end up in the same case.

For gracefull restarting (when he have this), this effectively means: 
not able to read the config resource equals no logical changes to the 
runtime state, though, of course inform the user that we couldn't restart.

Stipe

-- 
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.