Bug 20428: Add the option to specify a tmp uploads dir
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 29 Mar 2018 13:25:43 +0000 (10:25 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 14 May 2018 13:36:38 +0000 (10:36 -0300)
commitd90d8c9b272061986c101763d7c8f73ed7a9b0a2
tree888dcc5f13bb76708d8cbacf482b2384a42713c4
parent624870631ce374e90db2035545150eca95c72677
Bug 20428: Add the option to specify a tmp uploads dir

This patch adds an option to the koha-conf.xml file for specifying
a temporary uploaded files directory.

The koha-create script is adjusted to handle it and a convenient option
switch is added. If ommited, it will default to
/var/lib/koha/<instance>/uploads_tmp.

koha-create-dirs is patched to create the required directory with the
right permissions.

The docs get the new parameter documented.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
debian/docs/koha-create.xml
debian/scripts/koha-create
debian/scripts/koha-create-dirs
debian/templates/koha-conf-site.xml.in
etc/koha-conf.xml