From 57f457879e89500bcd5e1ed0ede9f2cc18a48465 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 18 Apr 2015 18:24:43 +0200 Subject: Install script: allow nginx and uwsgi port change on CLI call --- install/install.sh | 4 ++-- 1 file 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/ -- cgit v1.2.3