[pycsw] 02/09: Set default configuration path for wsgi

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Sat Oct 11 13:54:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

johanvdw-guest pushed a commit to branch master
in repository pycsw.

commit cfa7b176c6bcd852112370df4a1b8347b11e961d
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Sat Oct 11 14:32:35 2014 +0200

    Set default configuration path for wsgi
---
 ...05-Set-default-configuration-path-for-wsgi.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0005-Set-default-configuration-path-for-wsgi.patch b/debian/patches/0005-Set-default-configuration-path-for-wsgi.patch
new file mode 100644
index 0000000..1c861c1
--- /dev/null
+++ b/debian/patches/0005-Set-default-configuration-path-for-wsgi.patch
@@ -0,0 +1,21 @@
+From: Johan Van de Wauw <johan.vandewauw at gmail.com>
+Date: Sat, 11 Oct 2014 14:32:03 +0200
+Subject: Set default configuration path for wsgi
+
+---
+ csw.wsgi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/csw.wsgi b/csw.wsgi
+index ca9ac1f..d6d31f1 100644
+--- a/csw.wsgi
++++ b/csw.wsgi
+@@ -64,7 +64,7 @@ from pycsw import server
+ 
+ def application(env, start_response):
+     """WSGI wrapper"""
+-    config = 'default.cfg'
++    config = '/etc/pycsw/default.cfg'
+ 
+     if 'PYCSW_CONFIG' in env:
+         config = env['PYCSW_CONFIG']
diff --git a/debian/patches/series b/debian/patches/series
index c26c815..fd99808 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Remove-externally-linked-files.patch
 0003-Make-pycsw-look-for-configuration-in-correct-etc-pat.patch
 0004-Use-xdg-open-instead-of-firefox-in-desktop-file.patch
+0005-Set-default-configuration-path-for-wsgi.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pycsw.git



More information about the Pkg-grass-devel mailing list