Add warning to script/server if curl does not support AsyncDNS
This commit is contained in:
parent
07aec2a630
commit
3fd938f7e7
1 changed files with 12 additions and 0 deletions
|
|
@ -125,6 +125,18 @@ application, run:
|
|||
bundle exec rake assets:precompile"
|
||||
fi
|
||||
|
||||
# Check for old curl versions (see https://github.com/diaspora/diaspora/issues/4202)
|
||||
if [ `curl -V | grep AsynchDNS | wc -l` -ne 1 ]
|
||||
then
|
||||
warning "
|
||||
*****************************************************************
|
||||
curl does not support async DNS, this can cause Sidekiq to crash!
|
||||
Please update curl to version 7.32, see issue
|
||||
https://github.com/diaspora/diaspora/issues/4202 for details
|
||||
*****************************************************************
|
||||
"
|
||||
fi
|
||||
|
||||
# Start Diaspora
|
||||
echo -n "Starting Diaspora in $RAILS_ENV mode on port $port "
|
||||
if [ "$embed_sidekiq_worker" = "true" ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue