]> review.fuel-infra Code Review - packages/trusty/rabbitmq-server.git/blob
6bbb255ffc6c429ddc2eda8be6269f2bc4ab139e
[packages/trusty/rabbitmq-server.git] /
1 %% @author {{author}}
2 %% @copyright {{appid}} {{author}}
3
4 %% @doc Callbacks for the {{appid}} application.
5
6 -module({{appid}}_app).
7 -author("{{author}}").
8
9 -behaviour(application).
10 -export([start/2,stop/1]).
11
12
13 %% @spec start(_Type, _StartArgs) -> ServerRet
14 %% @doc application start callback for {{appid}}.
15 start(_Type, _StartArgs) ->
16     {{appid}}_deps:ensure(),
17     {{appid}}_sup:start_link().
18
19 %% @spec stop(_State) -> ServerRet
20 %% @doc application stop callback for {{appid}}.
21 stop(_State) ->
22     ok.