summaryrefslogtreecommitdiff
path: root/src/catlfish_app.erl
blob: 39c3109428d9bdacd680dabf50f0d5eedaf09693 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%%% Copyright (c) 2014, NORDUnet A/S.
%%% See LICENSE for licensing information.

-module(catlfish_app).

-behaviour(application).

%% Application callbacks
-export([start/2, stop/1]).

%% ===================================================================
%% Application callbacks
%% ===================================================================

dummy() ->
    receive
    after
        infinity ->
            none
    end.

start(_StartType, _StartArgs) ->
    io:format("starting catlfish~n", []),
    Pid = spawn(fun () ->
                        dummy()
                end),
    {ok, Pid}.

stop(_State) ->
    ok.