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
commit57f457879e89500bcd5e1ed0ede9f2cc18a48465 (patch)
tree5ee2d7bc38f4093ede3279096800827087d129a1 /install/install.sh
parentdfe3efa056f0d45ed49fedf154689c755d9b0465 (diff)
downloadIshtar-57f457879e89500bcd5e1ed0ede9f2cc18a48465.tar.bz2
Ishtar-57f457879e89500bcd5e1ed0ede9f2cc18a48465.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/