naps62 / capistrano3-monit Goto Github PK
View Code? Open in Web Editor NEWMonit integration for Capistrano 3
License: MIT License
Monit integration for Capistrano 3
License: MIT License
I guess the ReadMe line stating:
gem 'capistrano3-monit', github: 'naps62/capistrano3-monit'
should be changed to :
gem 'capistrano-monit'
Otherwise the Capful line
require 'capistrano/monit'
will raise an error during bundle install :
$ cap staging setup
(Backtrace restricted to imported tasks)
cap aborted!
LoadError: cannot load such file -- capistrano/monit
Nothing happens when I run cap staging monit:status.
I opened capistrano console (bundle exec cap staging console) and entered sudo monit status, it asked for a password.
In the current version of monit, if you change the config you need to reload it.
The command restart
doesn't reload the config.
I have a branch with the change needed, but I cannot push it.
desc 'Reload config'
task :reload do
sudo_if_needed :execute, :monit, :reload
end
We love to use monit and this gem to manage our application lifecycle, but we moved to unicorn and it's signal-based restart mechanism rigt now, so we do not use monit:restart task anymore at deploy:restart stage. However, capistrano3-monit does not allow us to deactivate its deploy:restart hook and our application keeps restarting via monit even if signal-based restart sould be happen.
Even if we made a workaround about this (Rake::Task['deploy:restart'].clear_actions
) we would really appreciate a way to disable this hook.
Any chance a new release can be push to rubygems? We're seeing the double execute issue that was fixed over a year ago.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.