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 <domain>127.0.0.1</domain>
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 <domain>127.0.0.1</domain>
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>
47 <!-- ======================================================================================== -->
50 <component>0</component> <!-- leave disabled for now -->
53 <!-- Trusted servers are allowed to register apps with the router -->
54 <server>127.0.0.1</server>
55 <!-- Trusted clients are allowed to send packets through the router -->
56 <client>127.0.0.1</client>
60 <!-- jabber server are we connecting to -->
61 <server>127.0.0.1</server>
62 <!-- If the port is a positive number,
63 we will connect via TCP port, if not and unixpath is defined,
64 we will connect via UNIX domain socket with the given path -->
66 <unixpath>/openils/var/sock/unix_sock</unixpath>
68 <!-- router's name on the network -->
69 <username>router</username>
70 <password>mypassword</password>
71 <!-- router's jabber resource -->
72 <resource>router</resource>
73 <connect_timeout>10</connect_timeout>
74 <max_reconnect_attempts>5</max_reconnect_attempts>
77 <logfile>/openils/var/log/router.log</logfile>
78 <loglevel>3</loglevel>
82 <!-- ======================================================================================== -->