Fixes pid check
This commit is contained in:
parent
87074318ca
commit
6be696b3a9
|
@ -56,7 +56,7 @@ task :deploy => :environment do
|
||||||
invoke :'bundle:install'
|
invoke :'bundle:install'
|
||||||
|
|
||||||
to :launch do
|
to :launch do
|
||||||
if File.exists?('thin.pid')
|
if File.exists?('/tmp/lightsaber.pid')
|
||||||
queue "bundle exec thin -C config.yml restart"
|
queue "bundle exec thin -C config.yml restart"
|
||||||
else
|
else
|
||||||
queue "bundle exec thin -C config.yml start"
|
queue "bundle exec thin -C config.yml start"
|
||||||
|
|
Loading…
Reference in New Issue