Convert rails_port definition to a resource
[chef.git] / cookbooks / dev / recipes / default.rb
index c1c56e8cffe3d675ba837a7df89b0adb55dd4f9a..5186e1109934d65bbf01c835d961d81603e4d46c 100644 (file)
@@ -205,7 +205,7 @@ if node[:postgresql][:clusters][:"9.5/main"]
         group "apis"
         mode 0o644
         variables :site => site_name
-        notifies :run, "execute[#{rails_directory}]"
+        notifies :restart, "rails_port[#{site_name}]"
       end
 
       ssl_certificate site_name do