add -4 to wget on torrent for stats or otherwise it uses ipv6 and fails due to an access error
This commit is contained in:
parent
53fc8dc13f
commit
e19f187616
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ base=/srv/web/stats/raw
|
|||
baseurl='http://torrent.fedoraproject.org:6969/stats?mode='
|
||||
date=`date +%Y-%m-%d`
|
||||
hour=`date +%H`
|
||||
wgetcmd="wget --timeout=20 -q"
|
||||
wgetcmd="wget --timeout=20 -q -4"
|
||||
#per-torrent stats
|
||||
src="${baseurl}tpbs&format=txt"
|
||||
dest=$base/torrent/$date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue