Update README.md

This commit is contained in:
Christian P. MOMON 2023-02-11 07:56:42 +00:00
parent 638f61d4ba
commit 0dbe9e8751
1 changed files with 2 additions and 2 deletions

View File

@ -299,8 +299,8 @@ 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 $@
- # IPV6ONLY="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true"
+ IPV6ONLY="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true"
```
-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true