Update service.rb

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

ensures that `supervisorctl update` is called immediately upon manual execution of the `template`
Allow setting of unix_http_server chmod and chown in supervisord.conf
Merge pull request #36 from FundingCircle/add_unix_http_server_options

[COOK-3957] Allow setting of unix_http_server chmod and chown in supervisord.conf
Update service.rb

assign the execute to a variable named e so that we can run it if/when the template changes.
Merge pull request #26 from tejaycar/COOK-3655

[COOK-3655] Fix errors on start and stop actions
Hey look, using octal numbers is bad.

This gets put into the template.
When starting or stopping a service is possible that the service was in process to start or to stop.
With this commit the process waits until the service reaches the required state.
Refactored 'wait_til_state' function to simplify it.
Made 'max_tries' configurable.
Made 'max_tries' configurable
Merge pull request #38 from alambike/wait_til_state

Wait to start or stop a service in corresponding action if it was in state of "STARTING" or "STOPPING"
Merge branch 'master' of https://github.com/poise/supervisor into AddRemoveActions