diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-11 15:52:06 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-11 17:39:38 -0400 |
commit | 498d5c85681ddfea577377b8e10051fb445ac0c2 (patch) | |
tree | 10c4d32773d703374d000f7dc0ae3988f6926366 /apps/mochiweb/src/mochiweb_app.erl | |
parent | 7e67565d2241783b5f24a37400ddae83b00c7a81 (diff) |
move mochiweb to rebar layout
Diffstat (limited to 'apps/mochiweb/src/mochiweb_app.erl')
-rw-r--r-- | apps/mochiweb/src/mochiweb_app.erl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/apps/mochiweb/src/mochiweb_app.erl b/apps/mochiweb/src/mochiweb_app.erl new file mode 100644 index 00000000..2b437f6c --- /dev/null +++ b/apps/mochiweb/src/mochiweb_app.erl @@ -0,0 +1,20 @@ +%% @author Bob Ippolito <bob@mochimedia.com> +%% @copyright 2007 Mochi Media, Inc. + +%% @doc Callbacks for the mochiweb application. + +-module(mochiweb_app). +-author('bob@mochimedia.com'). + +-behaviour(application). +-export([start/2,stop/1]). + +%% @spec start(_Type, _StartArgs) -> ServerRet +%% @doc application start callback for mochiweb. +start(_Type, _StartArgs) -> + mochiweb_sup:start_link(). + +%% @spec stop(_State) -> ServerRet +%% @doc application stop callback for mochiweb. +stop(_State) -> + ok. |