/
bitturret.app.src
51 lines (44 loc) · 1.71 KB
/
bitturret.app.src
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{application, bitturret, [
% A very short description of your application.
{description, "Bitturret UDP/HTTP Torrent Tracker"},
% Pull the app version number from git.
{vsn, git},
% All names of registered processes in the application. systools uses this
% list to detect name clashes between applications.
{registered, [
bitturret_sup
]},
% All modules introduced by this application. systools uses this list when
% generating boot scripts and tar files. A module must be defined in one and
% only one application. Defaults to [].
{modules, [
bitturret_app,
bitturret_sup
]},
% All applications which must be started before this application is started.
% systools uses this list to generate correct boot scripts.
{applications, [
kernel,
stdlib,
sasl
]},
% The application controller will automatically load any included applications
% when loading a primary application, but not start them. Instead, the top
% supervisor of the included application must be started by a supervisor in
% the including application.
{included_applications, []},
% The application master starts the application by calling the application
% callback function start/2 in the module, and with the start argument,
% defined here:
{mod, {bitturret_app, []}},
% Configuration parameters: A list of {Par, Val} tuples, Par should be
% an atom, Val may be any term.
% The values specified here can be overridden by values in a system
% configuration file.
{env, [
% Port to receive packets on.
{port, 6969},
% Address to listen on.
{bind_addr, {127,0,0,1}}
]}
]}.