stop and start instead of restart
This commit is contained in:
parent
6be696b3a9
commit
71909d7f49
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue