Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #244 from aberrios85/patch-1
Browse files Browse the repository at this point in the history
add space between switches
  • Loading branch information
ChrisLundquist committed Mar 2, 2014
2 parents b218504 + a5579fe commit 41e88c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/init.logstash_web.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export PIDFILE="$PIDDIR/<%= @name %>.pid"
export LS_HOME="<%= @home %>"
LS_USER="<%= node['logstash']['user'] %>"
export JAVA_OPTS="-server -Xms<%= @min_heap %> -Xmx<%= @max_heap %> -Djava.io.tmpdir=$LS_HOME/tmp/"
BIN_SCRIPT="/usr/bin/env java $JAVA_OPTS -jar $LS_HOME/lib/logstash.jar web -a <%= node['logstash']['server']['web']['address'] + '-p' + node['logstash']['server']['web']['port'] %> 2>&1 & echo \$! > $PIDFILE"
BIN_SCRIPT="/usr/bin/env java $JAVA_OPTS -jar $LS_HOME/lib/logstash.jar web -a <%= node['logstash']['server']['web']['address'] + ' -p' + node['logstash']['server']['web']['port'] %> 2>&1 & echo \$! > $PIDFILE"

if [ -f /etc/init.d/functions ] ; then
. /etc/init.d/functions
Expand Down

0 comments on commit 41e88c8

Please sign in to comment.