Skip to content

Commit

Permalink
Merge pull request #28 from eaapa/master
Browse files Browse the repository at this point in the history
Fixed init script change reloading
  • Loading branch information
bflad committed Nov 18, 2013
2 parents b476432 + db6a124 commit d857f8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes/upstart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
group 'root'
# lxc-docker package automatically starts service
# must restart immediately to catch Upstart config changes after install
notifies :restart, 'service[docker]', :immediately
# Need to stop&start, restart doesn't reload initd changes
notifies :stop, 'service[docker]', :immediately
notifies :start, 'service[docker]', :immediately
end

service 'docker' do
Expand Down

0 comments on commit d857f8d

Please sign in to comment.