equal
deleted
inserted
replaced
|
1 <html> |
|
2 <head> |
|
3 <title> DTN2 Manual: Environment Variables </title> |
|
4 <link rel="stylesheet" type="text/css" href="manual.css" /> |
|
5 </head> |
|
6 <body> |
|
7 <h1>Environment Variables |
|
8 </h1> |
|
9 |
|
10 <p> |
|
11 Using environment variables, you can configure some aspects of |
|
12 DTN2. The following table summarizes these variables. |
|
13 |
|
14 <p> |
|
15 <table> |
|
16 <tr> |
|
17 <th> Variable |
|
18 <th> Component |
|
19 <th> Syntax |
|
20 <th> Description |
|
21 <th> Default |
|
22 |
|
23 <tr> |
|
24 <td>DTNAPI_ADDR |
|
25 <td>dtnd and all DTN API clients (dtncp, dtnping, etc) |
|
26 <td>An IP address (<b>not</b> a hostname) |
|
27 <td>This is the address that dtnd listens on for requests from DTN |
|
28 API clients, and the address that DTN API clients send requests to. |
|
29 <td>0.0.0.0 |
|
30 |
|
31 <tr> |
|
32 <td>DTNAPI_PORT |
|
33 <td>dtnd and all DTN API clients (dtncp, dtnping, etc) |
|
34 <td>An IP port number |
|
35 <td>This is the port that dtnd listens on for requests from DTN |
|
36 API clients, and the port that DTN API clients send requests to. |
|
37 <td>5010 |
|
38 |
|
39 <tr> |
|
40 <td>HOME |
|
41 <td>dtnd |
|
42 <td>A directory name |
|
43 <td>The <a href="logging.html">logging system</a> looks for the |
|
44 <tt>.dtndebug</tt> file in this directory. |
|
45 <td><i>Set by operating system.</i> |
|
46 |
|
47 <tr> |
|
48 <td>TMP |
|
49 <td>dtnd |
|
50 <td>A directory name |
|
51 <td>The directory where bundles will be copied when an application |
|
52 asks for a bundle to be delivered as a file. If not set, a default |
|
53 of <tt>/tmp</tt> is used. |
|
54 <td><i>Set by operating system. (Unix)</i> |
|
55 |
|
56 <tr> |
|
57 <td>TEMP |
|
58 <td>dtnd |
|
59 <td>A directory name |
|
60 <td>Same as TMP. TEMP is used only if TMP is not set. |
|
61 <td><i>Set by operating system (Windows).</i> |
|
62 |
|
63 </table> |
|
64 |
|
65 </body> |
|
66 </html> |
|
67 |