Update README.md

This commit is contained in:
Christian P. MOMON 2023-02-11 07:27:26 +00:00
parent 7293dd6f97
commit 9d59f73c9b
1 changed files with 9 additions and 0 deletions

View File

@ -297,6 +297,15 @@ cd /srv/statoolinfos/bin/
ln -s statoolinfos.sh statoolinfos 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` : Créer le script `/srv/statoolinfos/bin/crawl` :
``` ```
#!/bin/bash #!/bin/bash