Skip to content

Commit

Permalink
Prevent "consul" service to be restarted on update
Browse files Browse the repository at this point in the history
  • Loading branch information
legal90 committed Apr 18, 2016
1 parent 38ad094 commit 75f76d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/consul_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def service_options(service)
service.directory(new_resource.data_dir)
service.user(new_resource.user)
service.environment(new_resource.environment)
service.restart_on_update(true)
service.restart_on_update(false)
service.options(:systemd, template: 'consul:systemd.service.erb')
service.options(:sysvinit, template: 'consul:sysvinit.service.erb')

Expand Down

0 comments on commit 75f76d6

Please sign in to comment.