{"action":"closed","issue":{"url":"https://api.github.com/repos/someara/chef-docker/issues/423","labels_url":"https://api.github.com/repos/someara/chef-docker/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/someara/chef-docker/issues/423/comments","events_url":"https://api.github.com/repos/someara/chef-docker/issues/423/events","html_url":"https://github.com/someara/chef-docker/issues/423","id":106574753,"number":423,"title":"Should restart docker daemon when docker service options are modified","user":{"login":"jperville","id":834791,"avatar_url":"https://avatars.githubusercontent.com/u/834791?v=3","gravatar_id":"","url":"https://api.github.com/users/jperville","html_url":"https://github.com/jperville","followers_url":"https://api.github.com/users/jperville/followers","following_url":"https://api.github.com/users/jperville/following{/other_user}","gists_url":"https://api.github.com/users/jperville/gists{/gist_id}","starred_url":"https://api.github.com/users/jperville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jperville/subscriptions","organizations_url":"https://api.github.com/users/jperville/orgs","repos_url":"https://api.github.com/users/jperville/repos","events_url":"https://api.github.com/users/jperville/events{/privacy}","received_events_url":"https://api.github.com/users/jperville/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/someara/chef-docker/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/someara/chef-docker/labels/Low%20Priority","name":"Low Priority","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-15T14:57:36Z","updated_at":"2015-10-27T18:51:57Z","closed_at":"2015-10-27T18:51:57Z","body":"Modifying attributes of the `docker_service` does not trigger restart of the docker service (it should).\r\n\r\nFor example, if my recipe had the following code:\r\n```ruby\r\ndocker_service 'default' do\r\n  action [:create, :start]\r\nend\r\n```\r\n\r\nThen I change it to:\r\n```ruby\r\ndocker_service 'default' do\r\n  storage_driver 'overlay' # or whatever\r\n  action [:create, :start]\r\nend\r\n```\r\n\r\nThen the docker service is not restarted after converging `docker_service[default]`.\r\n\r\nThe correct behavior should be that every time the content of `template[/etc/default/docker]` is modified then the docker service should also be restarted.\r\n\r\nThis issue is similar to #420."}}