[Groonga-commit] droonga/droonga-engine at f62506c [master] Allow to specify the port number via the environment variable PORT

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Oct 3 17:04:36 JST 2014


YUKI Hiroshi	2014-10-03 17:04:36 +0900 (Fri, 03 Oct 2014)

  New Revision: f62506ce2347f1a7436e783ddf853dc7863a3cfb
  https://github.com/droonga/droonga-engine/commit/f62506ce2347f1a7436e783ddf853dc7863a3cfb

  Message:
    Allow to specify the port number via the environment variable PORT

  Modified files:
    install.sh

  Modified: install.sh (+2 -1)
===================================================================
--- install.sh    2014-09-29 17:07:11 +0900 (fc0c7aa)
+++ install.sh    2014-10-03 17:04:36 +0900 (c0af6ab)
@@ -43,6 +43,7 @@ TEMPDIR=/tmp/install-$NAME
 
 : ${VERSION:=release}
 : ${HOST:=Auto Detect}
+: ${PORT:=10031}
 
 case $(uname) in
   Darwin|*BSD|CYGWIN*) sed="sed -E" ;;
@@ -133,7 +134,7 @@ setup_configuration_directory() {
   fi
 
   droonga-engine-configure --quiet \
-    --host=$HOST
+    --host=$HOST --port=$PORT
   if [ $? -ne 0 ]; then
     echo "ERROR: Failed to configure $NAME!"
     exit 1
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index