diff --git a/README.md b/README.md index ba840e2..9847324 100644 --- a/README.md +++ b/README.md @@ -297,6 +297,12 @@ cd /srv/statoolinfos/bin/ ln -s statoolinfos.sh statoolinfos ``` +Dans le fichier `/srv/statoolinfos/bin/statoolinfo.sh`, forcer l'utilsation d'IPv6 : +``` +- java -Djava.awt.headless=true $LOGFILE $LOGLEVEL -jar "$(dirname "$0")"/statoolinfos.jar $@ ++ java -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true -Djava.awt.headless=true $LOGFILE $LOGLEVEL -jar "$(dirname "$0")"/statoolinfos.jar $@ +``` + Créer le script `/srv/statoolinfos/bin/crawl` : ``` #!/bin/bash