Skip to content

Commit

Permalink
use restart for service autofs
Browse files Browse the repository at this point in the history
at least in Ubuntu reload is a NOP
  • Loading branch information
Michael Gruenewald committed Jul 23, 2013
1 parent 1492ffd commit 7b2dcfd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mysql/recipes/ebs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
handle_to_map_file.write_file
end

notifies :reload, "service[autofs]", :immediately
notifies :restart, "service[autofs]", :immediately
end

execute "ensure MySQL logdir is owned by MySQL user (even if mounted by autofs)" do
Expand Down
2 changes: 1 addition & 1 deletion opsworks_ganglia/recipes/bind-mount-data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
handle_to_map_file.write_file
end

notifies :reload, "service[autofs]", :immediately
notifies :restart, "service[autofs]", :immediately
end
2 changes: 1 addition & 1 deletion opsworks_initial_setup/recipes/autofs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
)
handle_to_master.write_file
end
notifies :reload, "service[autofs]", :immediately
notifies :restart, "service[autofs]", :immediately
end

0 comments on commit 7b2dcfd

Please sign in to comment.