summaryrefslogtreecommitdiff
path: root/src/catlfish_app.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-10-24 04:37:18 +0200
committerLinus Nordberg <linus@nordberg.se>2014-10-24 11:10:05 +0200
commit00156d1b7740c4177fc29bd10d75ea4e0e59cc6e (patch)
tree8dc3ac870fead70b59b40240d7b12734e7d0d67b /src/catlfish_app.erl
parent5e0ad5a06c608250ca1130e378932c0275c99e63 (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.