relups and restart_application

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

relups and restart_application

David Welton-3

It turns out that in some circumstances, such as if you have, say,
{foo, load} in your relx.config file, that an appup file specifying
{restart_application, foo} will not actually restart the application,
even if it was running.

I submitted a PR for the docs to make that a bit more evident, but
beyond that, does this seem right?  My naive inclination is that
things should be left as much as possible as they were found.  The PR
introducing this was doing the right thing in ensuring that the
application was not reloaded with a different restart_type(), but
that's different than not restarting it at all.

David N. Welton
erlang-questions mailing list
[hidden email]