diff options
| author | Cyril Brulebois <cyril@debamax.com> | 2016-04-03 05:17:19 +0200 |
|---|---|---|
| committer | Cyril Brulebois <cyril@debamax.com> | 2016-04-03 05:55:05 +0200 |
| commit | ac8c5e9f1d02bbc235f4c1a2664f1ab8d3c3798f (patch) | |
| tree | 63a89904a60bb6274bd7864cb40c3daa4031ceee /install/uwsgi.ini.template | |
| parent | d459f5eb9232bd3da3e779ac32bf5065b9680212 (diff) | |
| download | Ishtar-ac8c5e9f1d02bbc235f4c1a2664f1ab8d3c3798f.tar.bz2 Ishtar-ac8c5e9f1d02bbc235f4c1a2664f1ab8d3c3798f.zip | |
Make INSTALL_PREFIX configurable.
Since a comment insisted on this topic, make sure to add a trailing
slash if that variable wasn't set properly.
This means adjusting the templates in addition to the main script. A
slash is kept as a separator in those to keep them readable, which
explains the slightly awkward (uwsgi and nginx) sed calls.
Diffstat (limited to 'install/uwsgi.ini.template')
| -rw-r--r-- | install/uwsgi.ini.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/uwsgi.ini.template b/install/uwsgi.ini.template index 7a20c058c..dd8f00480 100644 --- a/install/uwsgi.ini.template +++ b/install/uwsgi.ini.template @@ -2,7 +2,7 @@ # variables projectname = #APP_NAME# projectdomain = #URL# -base = /srv/#DB_NAME#/ishtar/ +base = #INSTALL_PREFIX#/#DB_NAME#/ishtar/ # config plugins = python |
