From: Max Afonov Date: 2006-11-04T04:34:26+09:00 Subject: Re: Execute a file on read? You want Unix fifos (man mkfifo) coupled with a Ruby program that opens the fifo for writing and dumps config file contents to any 'client'. eddieroger wrote: > I am toying around with the concept of dynamic configuration files for > Asterisk (http://www.asterisk.org), and I was wondering if its possible > to have a dynamic file that's executed on read. Basicly, when executed, > the script would output a file that Asterisk is happy with, and > preferably the file could have the extension ".conf", but inside would > be Ruby code. Is this possible, or am I pipe dreaming? Thanks. > > Eddie > > > > ************************ MLB.com: Where Baseball is Always On