summaryrefslogtreecommitdiff
path: root/install/install.sh
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-04-18 18:24:43 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-04-18 18:25:36 +0200
commit821c5ab6c865b245ffd0f3f9add4c6b95657841b (patch)
tree5ee2d7bc38f4093ede3279096800827087d129a1 /install/install.sh
parenta82c8859bd4ceda956dd58e97a3c0e4fc4179229 (diff)
downloadIshtar-821c5ab6c865b245ffd0f3f9add4c6b95657841b.tar.bz2
Ishtar-821c5ab6c865b245ffd0f3f9add4c6b95657841b.zip
Install script: allow nginx and uwsgi port change on CLI call
Diffstat (limited to 'install/install.sh')
-rwxr-xr-xinstall/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/install.sh b/install/install.sh
index 7ca43c1ae..9a3b9b0f8 100755
--- a/install/install.sh
+++ b/install/install.sh
@@ -35,10 +35,10 @@ PG_VERSION=9.1
VERSION=stable
# change it for each instance on a same server
-UWSGI_PORT=8891
+UWSGI_PORT=${UWSGI_PORT-8891}
# webserver port - default "80"
-NGINX_PORT="80"
+NGINX_PORT=${NGINX_PORT-80}
# don't forget the trailing slash
INSTALL_PREFIX=/srv/