stop and start instead of restart

This commit is contained in:
Abhay Rana 2015-08-22 21:44:57 +05:30
parent 6be696b3a9
commit 71909d7f49
1 changed files with 2 additions and 1 deletions

View File

@ -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