Print

Print


Actually, it would still b a serious rewrite of the existing code. There 
is no such concept as in-memory config files. This is further coplicated 
by arbitrary if/else statements. We really looked at this in great detail 
and include statements were just unworkable in the way config files are 
processed. If you really need include statements you can always run the 
preporcessor on your config file to create whatever config file you want 
and feed the result into  xrootd.

On Tue, 11 Dec 2018, Adrian Sevcenco wrote:

> well... true, if you would process in one step the statement would be complicated .. but you could do it in 2 steps : make a temporary config file (in memory or /tmp) in which you replace the include statements with the content of the respective files and _then_ process the resulting configuration file. this way you avoid the syntax modification and just add a small step at the starting of service.
>
> -- 
> You are receiving this because you commented.
> Reply to this email directly or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/872#issuecomment-446126156


-- 
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/872#issuecomment-446129764

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1