3 <!-- Bootstrap config file for the C opensrf_stack library -->
6 <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
9 <!-- the routers's name on the network -->
10 <router_name>router</router_name>
12 <!-- jabber domains to connect to (domain1, domain2, ...) -->
14 <domain1>127.0.0.1</domain1>
17 <!-- jabber login info -->
18 <username>mylogin</username>
19 <passwd>mypassword</passwd>
21 <!-- If the port is a positive number,
22 we will connect via TCP port, if not and unixpath is defined,
23 we will connect via UNIX domain socket with the given path -->
25 <unixpath>/openils/var/sock/jserver.sock</unixpath>
27 <!-- log file location -->
28 <logfile>/openils/var/log/gateway.log</logfile>
29 <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug -->
30 <loglevel>3</loglevel>
35 <router_name>router</router_name>
37 <domain1>127.0.0.1</domain1>
39 <username>mylogin</username>
40 <passwd>mypassword</passwd>
42 <unixpath>/openils/var/sock/jserver.sock</unixpath>
43 <logfile>/openils/var/log/gateway.log</logfile>
44 <loglevel>3</loglevel>
48 <!-- ======================================================================================== -->
51 <component>0</component> <!-- leave disabled for now -->
54 <!-- Trusted servers are allowed to register apps with the router -->
55 <server1>127.0.0.1</server1>
56 <!-- Trusted clients are allowed to send packets through the router -->
57 <client1>127.0.0.1</client1>
61 <!-- jabber server are we connecting to -->
62 <server>127.0.0.1</server>
63 <!-- If the port is a positive number,
64 we will connect via TCP port, if not and unixpath is defined,
65 we will connect via UNIX domain socket with the given path -->
67 <unixpath>/openils/var/sock/unix_sock</unixpath>
69 <!-- router's name on the network -->
70 <username>router</username>
71 <password>mypassword</password>
72 <!-- router's jabber resource -->
73 <resource>router</resource>
74 <connect_timeout>10</connect_timeout>
75 <max_reconnect_attempts>5</max_reconnect_attempts>
78 <logfile>/openils/var/log/router.log</logfile>
79 <loglevel>3</loglevel>
83 <!-- ======================================================================================== -->