From 71909d7f49053680ae3b36ce2853846264589906 Mon Sep 17 00:00:00 2001 From: Abhay Rana Date: Sat, 22 Aug 2015 21:44:57 +0530 Subject: [PATCH] stop and start instead of restart --- config/deploy.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index 3aa46d5..2331eba 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -57,7 +57,8 @@ task :deploy => :environment do to :launch do if File.exists?('/tmp/lightsaber.pid') - queue "bundle exec thin -C config.yml restart" + queue "bundle exec thin -C config.yml stop" + queue "bundle exec thin -C config.yml start" else queue "bundle exec thin -C config.yml start" end