3 <!-- Bootstrap config file for the C opensrf_stack library -->
7 <chopchop> <!-- Our jabber server -->
8 <domain>127.0.0.1</domain>
9 <secret>secret</secret>
11 <s2sport>5269</s2sport>
12 <listen_address>10.0.0.3</listen_address>
13 <loglevel>3</loglevel>
14 <logfile>/openils/var/log/jabber.log</logfile>
18 <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
21 <!-- the routers's name on the network -->
22 <router_name>router</router_name>
24 <!-- jabber domains to connect to (domain1, domain2, ...) -->
26 <domain>127.0.0.1</domain>
29 <!-- jabber login info -->
30 <username>mylogin</username>
31 <passwd>mypassword</passwd>
33 <!-- If the port is a positive number,
34 we will connect via TCP port, if not and unixpath is defined,
35 we will connect via UNIX domain socket with the given path -->
37 <unixpath>/openils/var/sock/jserver.sock</unixpath>
39 <!-- log file location -->
40 <logfile>/openils/var/log/gateway.log</logfile>
41 <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug -->
42 <loglevel>3</loglevel>
47 <router_name>router</router_name>
49 <domain>127.0.0.1</domain>
51 <username>mylogin</username>
52 <passwd>mypassword</passwd>
54 <unixpath>/openils/var/sock/jserver.sock</unixpath>
55 <logfile>/openils/var/log/gateway.log</logfile>
56 <loglevel>3</loglevel>
59 <!-- ======================================================================================== -->
62 <component>0</component> <!-- leave disabled for now -->
65 <!-- Trusted servers are allowed to register apps with the router -->
66 <server>127.0.0.1</server>
67 <!-- Trusted clients are allowed to send packets through the router -->
68 <client>127.0.0.1</client>
72 <!-- jabber server are we connecting to -->
73 <server>127.0.0.1</server>
74 <!-- If the port is a positive number,
75 we will connect via TCP port, if not and unixpath is defined,
76 we will connect via UNIX domain socket with the given path -->
78 <unixpath>/openils/var/sock/unix_sock</unixpath>
80 <!-- router's name on the network -->
81 <username>router</username>
82 <password>mypassword</password>
83 <!-- router's jabber resource -->
84 <resource>router</resource>
85 <connect_timeout>10</connect_timeout>
86 <max_reconnect_attempts>5</max_reconnect_attempts>
89 <logfile>/openils/var/log/router.log</logfile>
90 <loglevel>3</loglevel>
94 <!-- ======================================================================================== -->