diff --git a/recipes/_service.rb b/recipes/_service.rb index f9d87e05..e4c93065 100644 --- a/recipes/_service.rb +++ b/recipes/_service.rb @@ -136,7 +136,7 @@ variables( gomaxprocs: node['cpu']['total'] ) - notifies :restart, 'service[consul]', :immediately + notifies :create, 'template[/etc/init.d/consul]', :immediately end template '/etc/init.d/consul' do source 'consul-init.erb'