Update service.rb

get the template to run now, rather than being added to the end of the resource stack.