From f7a05474cf4560748b151f34601af7ca3839dac9 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 27 Feb 2014 12:40:57 -0300 Subject: [PATCH] Bug 7234: koha-common Debian package should include koha-sites.conf This patch adds a sample koha-sites.conf file, which will be included by the koha-common package in /etc/koha (where it belongs). It is fixed to include the current defaults (DOM indexing for both biblios and authorities, disabled use of memcached, and good defaults for a normal setup if enabled). All options are commented for ease of use by average users. To test - verify that the defaults are sane (let me know if it needs to be fixed). - build the package and verify that the file gets installed. Regards To+ Sponsored-by: Universidad Nacional de Cordoba Signed-off-by: Mark Tompsett Signed-off-by: Robin Sheat --- debian/templates/koha-sites.conf | 61 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 debian/templates/koha-sites.conf diff --git a/debian/templates/koha-sites.conf b/debian/templates/koha-sites.conf new file mode 100644 index 0000000..c14cb3d --- /dev/null +++ b/debian/templates/koha-sites.conf @@ -0,0 +1,61 @@ +# NOTE: for a complete list of valid options please read koha-create(8) + +## Apache virtual hosts creation variables +# +# Please note that the URLs are built like this: +# OPAC: http://: +# STAFF: http://: +DOMAIN=".myDNSname.org" +INTRAPORT="80" +INTRAPREFIX="" +INTRASUFFIX="-intra" +OPACPORT="80" +OPACPREFIX="" +OPACSUFFIX="" + +## Default data to be loaded +# +# DEFAULTSQL: filename +# Specify an SQL file with default data to load during instance creation +# default: (empty) +DEFAULTSQL="" + +## Zebra global configuration variables +# +# ZEBRA_MARC_FORMAT: 'marc21' | 'normarc' | 'unimarc' +# Specifies the MARC records format for indexing +# default: 'marc21' +ZEBRA_MARC_FORMAT="marc21" + +# ZEBRA_LANGUAGE: 'en' | 'es' | 'fr' | 'nb' | 'ru' | 'uk' +# Primary language for Zebra indexing +# default: 'en' +ZEBRA_LANGUAGE="en" + +# BIBLIOS_INDEXING_MODE: 'dom' | 'grs1' +# Indexing mode for bibliographic records +# default: 'dom' +BIBLIOS_INDEXING_MODE="dom" + +# AUTHORITIES_INDEXING_MODE: 'dom' | 'grs1' +# Indexing mode for authorithy records +# default: 'dom' +AUTHORITIES_INDEXING_MODE="dom" + +## Memcached global configuration variables +# +# USE_MEMCACHED: 'yes' | 'no' +# Make the created instance use memcached. Can be altered later. +# default: 'no' +USE_MEMCACHED="no" + +# MEMCACHED_SERVERS: comma separated list of memcached servers (ip:port) +# Specify a list of memcached servers for the Koha instance +# default: '127.0.0.1:11211' +MEMCACHED_SERVERS="127.0.0.1:11211" + +# MEMCACHED_PREFIX: +# Specify a string to be used as prefix for defining the memcached namespace +# for the created instance. +# default: 'koha_' +MEMCACHED_PREFIX="koha_" -- 1.8.3.2