5 <opensrf> <!-- bootstrap config for the C apps -->
7 <!-- the routers's name on the network -->
8 <!-- do not change this -->
9 <router_name>router</router_name>
13 list of router domains we should register with.
14 We must at least have our default jabber domain in here
16 <router>127.0.0.1</router>
20 <!-- Our jabber domain, currenlty only one domain is supported -->
21 <domain>127.0.0.1</domain>
24 <username>client</username>
25 <passwd>mypass</passwd>
28 <!-- log to a local file -->
29 <logfile>/openils/var/log/osrfsys.log</logfile>
32 Log to syslog. You can use this same layout for
33 defining the logging of all services in this file
37 <logfile>syslog</logfile>
38 <syslog>local2</syslog>
39 <actlog>local1</actlog>
42 <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
43 <loglevel>3</loglevel>
47 <!-- Update this if you use ChopChop -->
48 <chopchop> <!-- Our jabber server -->
49 <domain>127.0.0.1</domain>
52 <!-- used when multiple servers need to communicate -->
53 <s2sport>5269</s2sport>
54 <secret>secret</secret>
56 <listen_address>10.0.0.3</listen_address>
57 <loglevel>3</loglevel>
58 <logfile>/openils/var/log/osrfsys.log</logfile>
62 <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
65 <!-- the routers's name on the network -->
66 <router_name>router</router_name>
68 <!-- jabber domains to connect to (domain1, domain2, ...) -->
70 <domain>127.0.0.1</domain>
73 <!-- These are the services that the gateway will serve.
74 Any other requests will receive an HTTP_NOT_FOUND (404)
75 DO NOT put any services here that you don't want the internet to have access to
78 <service>opensrf.math</service>
79 <service>open-ils.cat</service>
80 <service>open-ils.search</service>
81 <service>open-ils.circ</service>
82 <service>open-ils.actor</service>
83 <service>open-ils.auth</service>
87 <!-- jabber login info -->
88 <username>mylogin</username>
89 <passwd>mypassword</passwd>
92 <logfile>/openils/var/log/gateway.log</logfile>
93 <loglevel>3</loglevel>
98 <router_name>router</router_name>
100 <domain>127.0.0.1</domain>
102 <username>mylogin</username>
103 <passwd>mypassword</passwd>
105 <unixpath>/openils/var/sock/jserver.sock</unixpath>
106 <logfile>/openils/var/log/gateway.log</logfile>
107 <loglevel>3</loglevel>
110 <!-- ======================================================================================== -->
114 <!-- do not change -->
115 <component>0</component>
118 <!-- Trusted servers are allowed to register apps with the router -->
119 <server>127.0.0.1</server>
120 <!-- Trusted clients are allowed to send packets through the router -->
121 <client>127.0.0.1</client>
125 <!-- jabber server are we connecting to -->
126 <server>127.0.0.1</server>
129 <!-- do not change this -->
130 <username>router</username>
132 <password>mypassword</password>
134 <!-- router's jabber resource -->
135 <!-- do not change this -->
136 <resource>router</resource>
138 <connect_timeout>10</connect_timeout>
139 <max_reconnect_attempts>5</max_reconnect_attempts>
142 <logfile>/openils/var/log/router.log</logfile>
143 <loglevel>3</loglevel>
147 <!-- ======================================================================================== -->