Print

Print


Hi guys,

I have deployed latest development version 20060307 and tried to 
simplify my config file using INSTANCE_NAME and if statement.
I wrote this to the config file and for that particular node it didn't work:

if named dataserver
    ofs.redirect target
else
    ofs.redirect remote
fi

If I did use like this, it did work:

ofs.redirect target if named dataserver
ofs.redirect remote if named redirector
ofs.redirect remote if named supervisor

(dataserver,redirector,supervisor) are INSTANCE_NAMES which I am setting 
through command line argument -n.

Do am I missing something ? like badly comprehend the if statement syntax ?
Thank for any advice

Pavel