[Groonga-commit] groonga/heroku-buildpack-groonga at 6d4241f [master] Add missing input file...

Back to archive index

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


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

  New Revision: 6d4241f8b785142208e16daed6e9b322dc2aa028
  https://github.com/groonga/heroku-buildpack-groonga/commit/6d4241f8b785142208e16daed6e9b322dc2aa028

  Message:
    Add missing input file...

  Modified files:
    bin/release

  Modified: bin/release (+7 -4)
===================================================================
--- bin/release    2014-05-24 17:08:49 +0900 (fa8c231)
+++ bin/release    2014-05-24 17:12:49 +0900 (8b980dc)
@@ -29,12 +29,11 @@ release["config_vars"] = {
   "LD_LIBRARY_PATH" => ld_library_paths.compact.join(File::PATH_SEPARATOR),
 }
 
-release["default_process_types"] = {
-  "web" => "sed -i'' -e \"s/%PORT%/$PORT/g\" && groonga-httpd",
-}
-
 app_groonga_httpd_conf_dir =
   File.join(app_groonga_dir, "etc", "groonga", "httpd")
+app_groonga_httpd_conf =
+  File.join(app_groonga_httpd_conf_dir, "groonga-httpd.conf")
+
 build_groonga_httpd_conf_dir =
   File.join(build_groonga_dir, "etc", "groonga", "httpd")
 build_groonga_httpd_conf =
@@ -79,4 +78,8 @@ http {
   CONF
 end
 
+release["default_process_types"] = {
+  "web" => "sed -i'' -e \"s/%PORT%/$PORT/g\" #{app_groonga_httpd_conf} && groonga-httpd",
+}
+
 puts(release.to_yaml)
-------------- next part --------------
HTML����������������������������...
다운로드 



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