You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# First time setup
cap production deploy:check
cap production puma:install
cap production sidekiq:install
# Regular deployment
cap production deploy
# Rollback
cap production deploy:rollback
Service Management
Puma
cap production puma:start
cap production puma:stop
cap production puma:restart # Hard restart
cap production puma:reload # Soft reload
cap production puma:status
Sidekiq
cap production sidekiq:start
cap production sidekiq:stop
cap production sidekiq:restart
cap production sidekiq:quiet # Stop accepting new jobs
cap production sidekiq:status
Environments
simple - Basic setup, no socket activation
production - Full features, socket activation, multiple workers
staging - Like production but with debug logging
multi_process - Multiple Sidekiq processes across servers
set:puma_bind,"unix://#{shared_path}/tmp/sockets/puma.sock"set:puma_workers,2set:sidekiq_config_files,%w[sidekiq.yml]set:sidekiq_systemctl_user,:user# or :system