[erlang-questions] Problem with vm.args app env

Oliver Korpilla Oliver.Korpilla@REDACTED
Sat May 27 13:17:02 CEST 2017


Hello,

I have a vm.args file and I try to do the following:

-my_app config name-of-config.xml

where my_app is indeed the name of the application.

But I get:

{"init terminating in do_boot",{error,'Bad environment variable: "name-of-config.xml"  Application: my_app'}}

I get this also if I write:

-my_app config 'name-of-config.xml'
-my_app config "name-of-config.xml"

I just want to pass a few configuration parameters in but it does not seem to work.

Thank you,
Oliver



More information about the erlang-questions mailing list