From 9d59f73c9b1a4d87f9a4790085f45bd5ab51e7b1 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sat, 11 Feb 2023 07:27:26 +0000 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index bab814b..8f1e6ac 100644 --- a/README.md +++ b/README.md @@ -297,6 +297,15 @@ 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 $@ +``` + +-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true + + Créer le script `/srv/statoolinfos/bin/crawl` : ``` #!/bin/bash