Commit 1fc56cb

mo khan <mo@mokhan.ca>
2015-05-30 16:08:00
restart puma when the .env file changes.
1 parent 1f1d112
Changed files (1)
recipes/capistrano.rb
@@ -33,6 +33,7 @@ template "#{shared_path}/.env.#{node.chef_environment}" do
   group configuration['username']
   mode "0600"
   variables(configuration)
+  notifies :restart, 'service[puma]', :delayed
 end
 
 execute "chown-rails" do