Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
start inets explicitly before mochiweb.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Mar 18, 2011
1 parent 2bd43ee commit b491a46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/monic.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
kernel,
stdlib,
crypto,
inets,
mochiweb,
webmachine
]},
Expand Down
2 changes: 2 additions & 0 deletions src/monic.erl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ensure_started(App) ->
%% @doc Starts the app for inclusion in a supervisor tree
start_link() ->
ensure_started(crypto),
ensure_started(inets),
ensure_started(mochiweb),
application:set_env(webmachine, webmachine_logger_module,
webmachine_logger),
Expand All @@ -37,6 +38,7 @@ start_link() ->
%% @doc Start the monic server.
start() ->
ensure_started(crypto),
ensure_started(inets),
ensure_started(mochiweb),
application:set_env(webmachine, webmachine_logger_module,
webmachine_logger),
Expand Down

0 comments on commit b491a46

Please sign in to comment.