[Groonga-commit] droonga/chef-cookbooks at 63b5c32 [master] Give correct options for the droonga-event command

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Apr 18 17:28:19 JST 2014


YUKI Hiroshi	2014-04-18 17:28:19 +0900 (Fri, 18 Apr 2014)

  New Revision: 63b5c321a6dfd8ff5e05717aac2ba5ca80dfbaed
  https://github.com/droonga/chef-cookbooks/commit/63b5c321a6dfd8ff5e05717aac2ba5ca80dfbaed

  Message:
    Give correct options for the droonga-event command

  Modified files:
    droonga/templates/default/sv-droonga-engine-run.erb

  Modified: droonga/templates/default/sv-droonga-engine-run.erb (+6 -1)
===================================================================
--- droonga/templates/default/sv-droonga-engine-run.erb    2014-04-18 16:16:25 +0900 (1d2c2c9)
+++ droonga/templates/default/sv-droonga-engine-run.erb    2014-04-18 17:28:19 +0900 (3717fd9)
@@ -1,4 +1,5 @@
 #!/bin/bash
+<% engine = node.droonga.engine %>
 
 exec 2>&1
 
@@ -16,4 +17,8 @@ fluentd_conf="${config_dir}/fluentd.conf"
 export DROONGA_CATALOG="${config_dir}/catalog.json"
 
 cd "$work_dir"
-exec chpst -u "$user:$group" bundle exec "${work_dir}/bin/droonga-engine" # --config "${fluentd_conf}"
+exec chpst -u "$user:$group" \
+  bundle exec "${work_dir}/bin/droonga-engine" \
+    --host "<%= engine.host %>" \
+    --port <%= engine.port %> \
+    --tag "<%= engine.tag %>"
-------------- next part --------------
HTML����������������������������...
Download 



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