Skip to content

Commit

Permalink
Use absolute path for consul to satisfy systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
sh9189 committed Jan 29, 2016
1 parent 781f8b8 commit 2bb33c6
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 2bb33c6

Please sign in to comment.