summaryrefslogtreecommitdiff
path: root/src/catlfish_app.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-10-24 04:37:18 +0200
committerMagnus Ahltorp <map@kth.se>2014-10-24 05:06:23 +0200
commit9229c14078bda5c0386a43fc89fcc5f3f5471670 (patch)
tree938a590994ef4036c6929acd27654d035fa7a02c /src/catlfish_app.erl
parent02c3707c03bdcc607b05c0fdbfaeaa7f65774de9 (diff)
Use mochiweb for v1 API
Conflicts: catlfish.config src/v1.erl
Diffstat (limited to 'src/catlfish_app.erl')
-rw-r--r--src/catlfish_app.erl15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/catlfish_app.erl b/src/catlfish_app.erl
index 39c3109..cfb55cd 100644
--- a/src/catlfish_app.erl
+++ b/src/catlfish_app.erl
@@ -12,19 +12,8 @@
%% Application callbacks
%% ===================================================================
-dummy() ->
- receive
- after
- infinity ->
- none
- end.
-
-start(_StartType, _StartArgs) ->
- io:format("starting catlfish~n", []),
- Pid = spawn(fun () ->
- dummy()
- end),
- {ok, Pid}.
+start(normal, Args) ->
+ catlfish_sup:start_link(Args).
stop(_State) ->
ok.