Skip to content

Commit

Permalink
Merge ca7cdd8 into a7e98b5
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Sullivan committed Feb 6, 2015
2 parents a7e98b5 + ca7cdd8 commit 58b4202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/consul-init.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi

export GOMAXPROCS=${GOMAXPROCS}

CMD="<%= @consul_binary %> agent -config-dir <%= @config_dir %>"
CMD="<%= Chef::Consul.active_binary(node) %> agent -config-dir <%= node['consul']['config_dir'] %>"
NAME="consul"

PIDFILE="/var/run/$NAME.pid"
Expand Down

0 comments on commit 58b4202

Please sign in to comment.