lib/capistrano/delayed_job/runit.rb in capistrano-delayed_job-0.0.4 vs lib/capistrano/delayed_job/runit.rb in capistrano-delayed_job-0.0.5
- old
+ new
@@ -7,10 +7,10 @@
after "deploy:setup", "delayed_job:runit:setup"
# enable service after update in case it has not been setup or is disabled
# Service should probably be started as well?
after "deploy:update", "delayed_job:runit:enable"
- after "delayed_job:runit:quit", "delayed_job:runit:stop"
+ before "delayed_job:runit:quit", "delayed_job:runit:stop"
namespace :delayed_job do
namespace :runit do
desc "Setup Delayed Job runit-service"
task :setup, :roles => :app do
\ No newline at end of file