I have found that the service doesn't have to be restarted every time. Instead, use `notifies` in the templates to restart the service as needed. So:

```ruby
service 'dovecot' do
    action :nothing
end

template 'something' do
    # something
    notifies :reload, 'service[dovecot]'
end
```

This way, the service is only reloaded when there are changes to to template.