Bug 20525: Add --timezone switch to koha-create
[koha.git] / debian / templates / koha-conf-site.xml.in
blob6d3d31eda2629db31451816297e89bd0467c4c07
1 <yazgfs>
3 <listen id="biblioserver" >unix:/var/run/koha/__KOHASITE__/bibliosocket</listen>
4 <listen id="authorityserver" >unix:/var/run/koha/__KOHASITE__/authoritysocket</listen>
6 <!-- Uncomment the following entry if you want to run the public Z39.50 server.
7 Also uncomment the <server> and <serverinfo> sections for id 'publicserver'
8 under PUBLICSERVER'S BIBLIOGRAPHIC RECORDS title-->
9 __START_SRU_PUBLICSERVER__
10 <listen id="publicserver" >tcp:@:__SRU_BIBLIOS_PORT__</listen>
11 __END_SRU_PUBLICSERVER__
13 <!-- Settings for special biblio server instance for PazPar2.
14 Because PazPar2 only connects to a Z39.50 server using TCP/IP,
15 it cannot use the Unix-domain socket that biblioserver uses.
16 Therefore, a custom server is defined. -->
17 <!--
18 <listen id="mergeserver">tcp:@:__MERGE_SERVER_PORT__</listen>
19 <server id="mergeserver" listenref="mergeserver">
20 <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
21 <config>/etc/koha/sites/__KOHASITE__/__ZEBRA_BIBLIOS_CFG__</config>
22 <cql2rpn>/var/lib/koha/__KOHASITE__/pqf.properties</cql2rpn>
23 </server>
24 -->
26 <!-- BIBLIOGRAPHIC RECORDS -->
27 <server id="biblioserver" listenref="biblioserver">
28 <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
29 <config>/etc/koha/sites/__KOHASITE__/__ZEBRA_BIBLIOS_CFG__</config>
30 <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
32 __START_BIBLIOS_RETRIEVAL_INFO__
33 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
34 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
35 <retrieval syntax="xml" name="F"/>
36 <retrieval syntax="xml" name="B"/>
37 <retrieval syntax="xml" name="marcxml"
38 identifier="info:srw/schema/1/marcxml-v1.1">
39 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
40 <marc inputformat="marc" outputformat="marcxml"
41 inputcharset="utf-8"/>
42 </backend>
43 </retrieval>
44 <retrieval syntax="xml" name="dc">
45 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
46 <marc inputformat="marc" outputformat="marcxml"
47 inputcharset="utf-8"/>
48 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
49 </backend>
50 </retrieval>
51 <retrieval syntax="xml" name="mods">
52 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
53 <marc inputformat="marc" outputformat="marcxml"
54 inputcharset="utf-8"/>
55 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
56 </backend>
57 </retrieval>
58 <retrieval syntax="xml" name="rdfdc">
59 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
60 <marc inputformat="marc" outputformat="marcxml"
61 inputcharset="utf-8"/>
62 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
63 </backend>
64 </retrieval>
65 <retrieval syntax="xml" name="rss2">
66 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
67 <marc inputformat="marc" outputformat="marcxml"
68 inputcharset="utf-8"/>
69 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/>
70 </backend>
71 </retrieval>
72 <retrieval syntax="xml" name="utils">
73 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
74 <marc inputformat="marc" outputformat="marcxml"
75 inputcharset="utf-8"/>
76 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
77 </backend>
78 </retrieval>
79 __END_BIBLIOS_RETRIEVAL_INFO__
81 <!-- The stuff below is used to enable SRU. It's currently disabled
82 until we come up with a good way to make it get magically set up by
83 the packaging system. If you need it, uncomment and set it up
84 manually.
85 <xi:include href="/etc/koha/zebradb/explain-biblios.xml"
86 xmlns:xi="http://www.w3.org/2001/XInclude">
87 <xi:fallback>
88 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
89 <serverInfo>
90 <host>__ZEBRA_SRU_HOST__</host>
91 <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
92 <database>biblios</database>
93 </serverInfo>
94 </explain>
95 </xi:fallback>
96 </xi:include> -->
97 </server>
98 <serverinfo id="biblioserver">
99 <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
100 <user>kohauser</user>
101 <password>__ZEBRA_PASS__</password>
102 </serverinfo>
104 <!-- AUTHORITY RECORDS -->
105 <server id="authorityserver" listenref="authorityserver" >
106 <directory>/var/lib/koha/__KOHASITE__/authorities</directory>
107 <config>/etc/koha/sites/__KOHASITE__/__ZEBRA_AUTHORITIES_CFG__</config>
108 <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
110 __START_AUTHORITIES_RETRIEVAL_INFO__
111 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
112 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
113 <retrieval syntax="xml" name="marcxml"
114 identifier="info:srw/schema/1/marcxml-v1.1">
115 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
116 <marc inputformat="marc" outputformat="marcxml"
117 inputcharset="utf-8"/>
118 </backend>
119 </retrieval>
120 <retrieval syntax="xml" name="dc">
121 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
122 <marc inputformat="marc" outputformat="marcxml"
123 inputcharset="utf-8"/>
124 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
125 </backend>
126 </retrieval>
127 <retrieval syntax="xml" name="mods">
128 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
129 <marc inputformat="marc" outputformat="marcxml"
130 inputcharset="utf-8"/>
131 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
132 </backend>
133 </retrieval>
134 <retrieval syntax="xml" name="rdfdc">
135 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
136 <marc inputformat="marc" outputformat="marcxml"
137 inputcharset="utf-8"/>
138 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
139 </backend>
140 </retrieval>
141 <retrieval syntax="xml" name="utils">
142 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
143 <marc inputformat="marc" outputformat="marcxml"
144 inputcharset="utf-8"/>
145 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
146 </backend>
147 </retrieval>
148 __END_AUTHORITIES_RETRIEVAL_INFO__
150 <!-- The stuff below is used to enable SRU. It's currently disabled
151 until we come up with a good way to make it get magically set up by
152 the packaging system. If you need it, uncomment and set it up
153 manually.
154 <xi:include href="/etc/koha/zebradb/explain-authorities.xml"
155 xmlns:xi="http://www.w3.org/2001/XInclude">
156 <xi:fallback>
157 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
158 <serverInfo>
159 <host>__ZEBRA_SRU_HOST__</host>
160 <port>__ZEBRA_SRU_AUTHORITIES_PORT__</port>
161 <database>authorities</database>
162 </serverInfo>
163 </explain>
164 </xi:fallback>
165 </xi:include> -->
166 </server>
167 <serverinfo id="authorityserver">
168 <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
169 <user>kohauser</user>
170 <password>__ZEBRA_PASS__</password>
171 </serverinfo>
173 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
174 <!-- This can be used to set up a public Z39.50/SRU server. -->
175 __START_SRU_PUBLICSERVER__
176 <server id="publicserver" listenref="publicserver">
177 <directory>/var/lib/koha/__KOHASITE__/biblios</directory>
178 <config>/etc/koha/sites/__KOHASITE__/__ZEBRA_BIBLIOS_CFG__</config>
179 <cql2rpn>/etc/koha/zebradb/pqf.properties</cql2rpn>
181 __START_BIBLIOS_RETRIEVAL_INFO__
182 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
183 <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
184 <retrieval syntax="xml" name="F"/>
185 <retrieval syntax="xml" name="B"/>
186 <retrieval syntax="xml" name="marcxml"
187 identifier="info:srw/schema/1/marcxml-v1.1">
188 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
189 <marc inputformat="marc" outputformat="marcxml"
190 inputcharset="utf-8"/>
191 </backend>
192 </retrieval>
193 <retrieval syntax="xml" name="dc">
194 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
195 <marc inputformat="marc" outputformat="marcxml"
196 inputcharset="utf-8"/>
197 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl"/>
198 </backend>
199 </retrieval>
200 <retrieval syntax="xml" name="mods">
201 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
202 <marc inputformat="marc" outputformat="marcxml"
203 inputcharset="utf-8"/>
204 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl"/>
205 </backend>
206 </retrieval>
207 <retrieval syntax="xml" name="rdfdc">
208 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
209 <marc inputformat="marc" outputformat="marcxml"
210 inputcharset="utf-8"/>
211 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
212 </backend>
213 </retrieval>
214 <retrieval syntax="xml" name="rss2">
215 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
216 <marc inputformat="marc" outputformat="marcxml"
217 inputcharset="utf-8"/>
218 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl"/>
219 </backend>
220 </retrieval>
221 <retrieval syntax="xml" name="utils">
222 <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
223 <marc inputformat="marc" outputformat="marcxml"
224 inputcharset="utf-8"/>
225 <xslt stylesheet="/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl"/>
226 </backend>
227 </retrieval>
228 __END_BIBLIOS_RETRIEVAL_INFO__
230 <xi:include href="/etc/koha/zebradb/explain-biblios.xml"
231 xmlns:xi="http://www.w3.org/2001/XInclude">
232 <xi:fallback>
233 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
234 <serverInfo>
235 <host>__ZEBRA_SRU_HOST__</host>
236 <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
237 <database>biblios</database>
238 </serverInfo>
239 </explain>
240 </xi:fallback>
241 </xi:include>
242 </server>
243 <serverinfo id="publicserver">
244 <ccl2rpn>/etc/koha/zebradb/ccl.properties</ccl2rpn>
245 <user>kohauser</user>
246 <password>__ZEBRA_PASS__</password>
247 </serverinfo>
248 __END_SRU_PUBLICSERVER__
250 <config>
251 <db_scheme>mysql</db_scheme>
252 <database>__DB_NAME__</database>
253 <hostname>__DB_HOST__</hostname>
254 <port>3306</port>
255 <user>__DB_USER__</user>
256 <pass>__DB_PASS__</pass>
257 <biblioserver>biblios</biblioserver>
258 <biblioservershadow>1</biblioservershadow>
259 <authorityserver>authorities</authorityserver>
260 <authorityservershadow>1</authorityservershadow>
261 <pluginsdir>__PLUGINS_DIR__</pluginsdir> <!-- This entry can be repeated to use multiple directories -->
262 <enable_plugins>0</enable_plugins>
263 <upload_path>__UPLOAD_PATH__</upload_path>
264 <intranetdir>/usr/share/koha/intranet/cgi-bin</intranetdir>
265 <opacdir>/usr/share/koha/opac/cgi-bin/opac</opacdir>
266 <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs>
267 <intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs>
268 <includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes>
269 <logdir>__LOG_DIR__</logdir>
270 <docdir>/usr/share/doc/koha-common</docdir>
271 <backupdir>/var/spool/koha/__KOHASITE__</backupdir>
272 <!-- Enable the two following to allow superlibrarians to download
273 database and configuration dumps (respectively) from the Export
274 tool -->
275 <backup_db_via_tools>0</backup_db_via_tools>
276 <backup_conf_via_tools>0</backup_conf_via_tools>
277 <!-- <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url> -->
278 <install_log>/usr/share/koha/misc/koha-install-log</install_log>
279 <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
280 <useshibboleth>0</useshibboleth><!-- see C4::Auth_with_shibboleth for extra configs you must do to turn this on -->
281 <zebra_bib_index_mode>__BIBLIOS_INDEXING_MODE__</zebra_bib_index_mode>
282 <zebra_auth_index_mode>__AUTHORITIES_INDEXING_MODE__</zebra_auth_index_mode>
283 <zebra_lockdir>/var/lock/koha/__KOHASITE__</zebra_lockdir>
284 <use_zebra_facets>1</use_zebra_facets>
285 <queryparser_config>/etc/koha/searchengine/queryparser.yaml</queryparser_config>
286 <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf>
287 <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
288 Default is: none,fatal,warn.
289 You can also include: debug,log,malloc,all,request.
290 Use a comma-separated list of levels to include. -->
291 <!-- <zebra_loglevels>none,fatal,warn</zebra_loglevels> -->
292 <memcached_servers>__MEMCACHED_SERVERS__</memcached_servers>
293 <memcached_namespace>__MEMCACHED_NAMESPACE__</memcached_namespace>
294 <template_cache_dir>__TEMPLATE_CACHE_DIR__</template_cache_dir>
296 <!-- Secret passphrase used by Mojolicious for signed cookies -->
297 <api_secret_passphrase>__API_SECRET__</api_secret_passphrase>
299 <!-- Accessible directory from the staff client, uncomment the following line and define a valid path to let the intranet user access it-->
300 <!--
301 <access_dirs>
302 <access_dir></access_dir>
303 <access_dir></access_dir>
304 </access_dirs>
307 <!-- true type font mapping according to type from $font_types in C4/Creators/Lib.pm -->
308 <ttf>
309 <font type="TR" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf</font>
310 <font type="TB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf</font>
311 <font type="TI" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf</font>
312 <font type="TBI">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf</font>
313 <font type="C" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf</font>
314 <font type="CB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf</font>
315 <font type="CO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf</font>
316 <font type="CBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf</font>
317 <font type="H" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf</font>
318 <font type="HO" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf</font>
319 <font type="HB" >/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf</font>
320 <font type="HBO">/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf</font>
321 </ttf>
323 <!-- Path to the config file for SMS::Send -->
324 <sms_send_config>__KOHA_CONF_DIR__/sms_send/</sms_send_config>
326 <!-- Configuration for Plack -->
327 <plack_max_requests>50</plack_max_requests>
328 <plack_workers>2</plack_workers>
330 <!-- Elasticsearch Configuration -->
331 <elasticsearch>
332 <server>localhost:9200</server>
333 <index_name>koha___KOHASITE__</index_name>
334 </elasticsearch>
335 <!-- Uncomment the following line if you want to override the Elasticsearch default index settings -->
336 <!-- <elasticsearch_index_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/index_config.yaml</elasticsearch_index_config> -->
337 <!-- Uncomment the following line if you want to override the Elasticsearch default field settings -->
338 <!-- <elasticsearch_field_config>__KOHA_CONF_DIR__/searchengine/elasticsearch/field_config.yaml</elasticsearch_field_config> -->
339 <!-- Uncomment the following line if you want to override the Elasticsearch index default settings.
340 Note that any changes made to the mappings file only take effect if you reset the mappings in
341 by visiting /cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl?op=reset&i_know_what_i_am_doing=1&reset_fields=1.
342 Resetting mappings will override any changes made in the Search engine configuration UI.
344 <!-- <elasticsearch_index_mappings>__KOHA_CONF_DIR__/searchengine/elasticsearch/mappings.yaml</elasticsearch_index_mappings> -->
346 <interlibrary_loans>
347 <!-- Path to where Illbackends are located on the system
348 - This setting should normally not be touched -->
349 <backend_directory>/usr/share/koha/lib/Koha/Illbackends</backend_directory>
350 <!-- How should we treat staff comments?
351 - hide: don't show in OPAC
352 - show: show in OPAC -->
353 <staff_request_comments>hide</staff_request_comments>
354 <!-- How should we treat the reply_date field?
355 - hide: don't show this field in the UI
356 - any other string: show, with this label -->
357 <reply_date>hide</reply_date>
358 <!-- Where should digital ILLs be sent?
359 - borrower: send it straight to the borrower email
360 - branch: send the ILL to the branch email -->
361 <digital_recipient>branch</digital_recipient>
362 <!-- What patron category should we use for p2p ILL requests?
363 - By default this is set to 'ILLLIBS' -->
364 <partner_code>ILLLIBS</partner_code>
365 </interlibrary_loans>
367 <!-- The timezone setting can let you force the timezone for this
368 instance to be something other then the local timezone of the
369 server. e.g. Antarctica/South_Pole -->
370 <timezone>__TIMEZONE__</timezone>
372 </config>
373 </yazgfs>