lib/capistrano/tasks/monit.cap in capistrano3-puma-1.0.0 vs lib/capistrano/tasks/monit.cap in capistrano3-puma-1.1.0

- old
+ new

@@ -12,9 +12,10 @@ task :config do on roles(fetch(:puma_role)) do |role| @role = role template_puma 'puma_monit.conf', "#{fetch(:tmp_dir)}/monit.conf", @role sudo "mv #{fetch(:tmp_dir)}/monit.conf #{fetch(:puma_monit_conf_dir)}" + sudo "#{fetch(:puma_monit_bin)} reload" end end desc 'Monitor Puma monit-service' task :monitor do