capistrano-sidekiq
capistrano-sidekiq copied to clipboard
Start / Stop tasks (and others) missing for Monit
On beta5 and these tasks seem to have been removed from the monit.rb.
We have none of the original: Stop Start Quiet Rolling Restart
❯ bundle exec cap production sidekiq:stop
(Backtrace restricted to imported tasks)
cap aborted!
Don't know how to build task 'sidekiq:stop' (See the list of available tasks with `cap --tasks`)
Did you mean? sidekiq:monit:stop
(See full trace by running task with --trace)
❯ bundle exec cap production sidekiq:start
bundle exec (Backtrace restricted to imported tasks)
cap aborted!
Don't know how to build task 'sidekiq:start' (See the list of available tasks with `cap --tasks`)
Did you mean? sidekiq:restart
(See full trace by running task with --trace)
❯ bundle exec cap -T | grep sidekiq
cap sidekiq:monit:config # Config Sidekiq monit-service
cap sidekiq:monit:monitor # Monitor Sidekiq monit-service
cap sidekiq:monit:restart # Restart Sidekiq monit-service
cap sidekiq:monit:start # Start Sidekiq monit-service
cap sidekiq:monit:stop # Stop Sidekiq monit-service
cap sidekiq:monit:unmonitor # Unmonitor Sidekiq monit-service
cap sidekiq:restart # Restart sidekiq
Capfile contains:
require 'capistrano/sidekiq'
install_plugin Capistrano::Sidekiq
install_plugin Capistrano::Sidekiq::Monit
Am I missing something here?
Ya sorry, didn't mean to close this. Seems like these are missing.
It's not just Monit. The default sidekiq.rake
file also references tasks that don't exist anymore. Looks like this gem only supports systemd and maybe upstart now?
The tasks are still defined here.
~~Dunno why they are not accessible. Did anyone manage to bypass this?~~
EDIT: I did not bundle after some dependencies got updated. Everything is working as expected now. Maybe we can close this issue?