Sha256: 8dac218e74d79bf81e59652776ee6fc8dbfc453a154a7891993448940b56e84b
Contents?: true
Size: 235 Bytes
Versions: 4
Compression:
Stored size: 235 Bytes
Contents
namespace :monit do %w(start stop restart).each do |task_name| desc "#{task_name} Monit" task task_name do on roles(:app), in: :sequence, wait: 5 do sudo "service monit #{task_name}" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems