Giter Club home page Giter Club logo

capistrano3-monit's People

Contributors

derekyau avatar naps62 avatar poctek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

capistrano3-monit's Issues

change doc

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

Does this require a passwordless sudo user?

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.

Add "reload" action

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

Make deploy:restart hook optional

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.

Release new version?

Any chance a new release can be push to rubygems? We're seeing the double execute issue that was fixed over a year ago.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.