Closed kirqe closed 3 years ago
Did you regenerate the systemd file ?
Reloading allows zero downtime deployment
@seuros I have tried systemctl daemon-reload
edit cap production puma:reload
alone works fine though
edit1: I removed after :finishing, :restart
from namespace :deploy
of deploy.rb and it started working with no errors.
And there should also be the ExecReload line in your systemd unit file.
Hey there. Capistrano-puma used to do
/bin/systemctl RESTART puma_app_production
at the end ofcap production deploy
I did bundle updated aaand...now it does reload instead of restart which leads to
Failed to reload puma_app_production.service: Job type reload is not applicable for unit puma_app_production.service.