Skip to content

Commit

Permalink
notifying influxdb service after config change
Browse files Browse the repository at this point in the history
  • Loading branch information
nilroy authored and bdangit committed Mar 6, 2017
1 parent 2e7455a commit da113a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@

influxdb_config node['influxdb']['config_file_path'] do
config node['influxdb']['config']
notifies :restart, 'service[influxdb]', :delayed
end

service 'influxdb' do
supports(restart: true)
action [:enable, :start]
end

0 comments on commit da113a8

Please sign in to comment.