Hi,
I need to run ejabberd inside an erlang supervision tree.
I have supervisors I need to start before ejabberd starts (my ejabberd custom modules need these).
I have supervisors I need to start after ejabberd has started.
I would like to have all these under a super supervisor wrapped in an erlang application.
I have started looking into doing this by using ejabberd_sup directly with my other supervisors.
But this by-passes ejabberd_app which seems to be doing a lot of initialiation things :-(
Has anybody done this before? Any idea how to best do this?
Kind regards,
EB