Skip to content

Commit

Permalink
Merge pull request #270 from sh9189/use_absolute_path
Browse files Browse the repository at this point in the history
Use absolute path for consul to satisfy systemd
  • Loading branch information
johnbellone committed Feb 2, 2016
2 parents 4bd853c + 2bb33c6 commit 349622e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
language: ruby
cache: bundler
sudo: false
notifications:
slack: bloomberg-rnd:eHp3Czg42iGzaTgG8sAFeD9v
Expand Down
2 changes: 1 addition & 1 deletion libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def command(config_file, config_dir)
if windows?
%{agent -config-file="""#{config_file}""" -config-dir="""#{config_dir}"""}
else
"consul agent -config-file=#{config_file} -config-dir=#{config_dir}"
"/usr/local/bin/consul agent -config-file=#{config_file} -config-dir=#{config_dir}"
end
end

Expand Down

0 comments on commit 349622e

Please sign in to comment.