[Groonga-commit] groonga/heroku-buildpack-groonga at 5ae5c8a [master] Change port number on start time

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Sat May 24 17:08:49 JST 2014


Kouhei Sutou	2014-05-24 17:08:49 +0900 (Sat, 24 May 2014)

  New Revision: 5ae5c8a7d19510d2f3ae92a6c8f49f393158525c
  https://github.com/groonga/heroku-buildpack-groonga/commit/5ae5c8a7d19510d2f3ae92a6c8f49f393158525c

  Message:
    Change port number on start time

  Modified files:
    bin/release

  Modified: bin/release (+2 -2)
===================================================================
--- bin/release    2014-05-24 16:50:10 +0900 (8a97482)
+++ bin/release    2014-05-24 17:08:49 +0900 (fa8c231)
@@ -30,7 +30,7 @@ release["config_vars"] = {
 }
 
 release["default_process_types"] = {
-  "web" => "groonga-httpd",
+  "web" => "sed -i'' -e \"s/%PORT%/$PORT/g\" && groonga-httpd",
 }
 
 app_groonga_httpd_conf_dir =
@@ -58,7 +58,7 @@ http {
   groonga_database #{database_path};
 
   server {
-    listen #{ENV["PORT"]};
+    listen %PORT%;
     server_name localhost;
 
     location /d/ {
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る