<div>Hi Matthieu.</div><div>š</div><div>I used this feature without any problem.š</div><div>Here my tryšhttps://github.com/nevar/sys_test</div><div>š</div><div>24.10.2012, 21:03, "Matthieu Vachon" <matthieu.ouellette-vachon@nuecho.com>:</div><blockquote type="cite"><p>Hi All,<br /><br />In the config documentation page <br />(<a href="http://www.erlang.org/doc/man/config.html">http://www.erlang.org/doc/man/config.html</a>), it is noted that since <br />R10B, the syntax of sys.config was extended to allow pointing to other <br />configuration files.<br /><br />ššššš[{Application, [{Par, Val}]} | File].<br /><br />So, I was wondering if this mechanism is supposed to work when passing a <br />config file via the command line parameter (i.e. -config):<br /><br />šššššerl -boot boot_file -config sys<br /><br />I'm asking the question because in fact, I tried and I tried and I tried <br />without success. My config file looks like this:<br /><br />ššššš[<br />ššššššššš{mnesia, [<br />ššššššššššššš{dir, "db"}<br />ššššššššš]},<br /><br />ššššššššš"/home/user/project/sys.user.config",<br />ššššš].<br /><br />But anything I put as the File parameter result in an error. I tried <br />without the .config suffix, with a relative path, at the beginning of <br />the line, at the end. It always saying it's an invalid application name. <br />With this kind of error, I fear it works only in conjunction with a full <br />release and its not meant to work with config file passes as command <br />line arguments. Is it right?<br /><br />Here the full error message:<br /><br />šššššcould not start kernel pid (application_controller) (invalid config <br />data: invalid application name: "/home/user/project/sys.user.config")<br /><br />Regards,<br />Matt<br />_______________________________________________<br />erlang-questions mailing list<br /><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br /><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></p></blockquote>