On Mon, Feb 27, 2012 at 4:02 PM, Steve Vinoski <vinoski@...> wrote:
> On Mon, Feb 27, 2012 at 4:55 PM, Wes James <comptekki@...> wrote:
>> I've tried to run
>> yaws -r mod -r mod2
>> yaws --runmod mod --runmod mod2
>> but the second one seems to get ignored in each case. Is it supposed
>> to allow more than one?
> I don't think the command line allows more than one. The command-line
> option and associated module name turn into an application environment
> setting fetched within yaws using application:get_env/2, so only one
> called "runmod" would ever take effect from the command line.
>> Right now I run yaws -r mod then run mod2:start() from the shell.
> You can configure runmods in your yaws.conf file as well, and there
> you can have more than one.
ok - I'll check that.