Navigation Menu

Skip to content

Commit

Permalink
Give correct options for the droonga-event command
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 18, 2014
1 parent 120677f commit 63b5c32
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion droonga/templates/default/sv-droonga-engine-run.erb
@@ -1,4 +1,5 @@
#!/bin/bash
<% engine = node.droonga.engine %>

exec 2>&1

Expand All @@ -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 %>"

0 comments on commit 63b5c32

Please sign in to comment.