Disable ipv6 on tracker
This commit is contained in:
parent
88c39eecb9
commit
17a87bac1d
|
@ -1659,7 +1659,7 @@ function install_zeronet {
|
||||||
echo 'User=tracker' >> /etc/systemd/system/tracker.service
|
echo 'User=tracker' >> /etc/systemd/system/tracker.service
|
||||||
echo 'Group=tracker' >> /etc/systemd/system/tracker.service
|
echo 'Group=tracker' >> /etc/systemd/system/tracker.service
|
||||||
echo 'WorkingDirectory=/opt/tracker' >> /etc/systemd/system/tracker.service
|
echo 'WorkingDirectory=/opt/tracker' >> /etc/systemd/system/tracker.service
|
||||||
echo "ExecStart=bttrack --port $TRACKER_PORT --dfile /opt/tracker/dstate --logfile /opt/tracker/tracker.log --nat_check 0 --scrape_allowed full" >> /etc/systemd/system/tracker.service
|
echo "ExecStart=bttrack --port $TRACKER_PORT --dfile /opt/tracker/dstate --logfile /opt/tracker/tracker.log --nat_check 0 --scrape_allowed full --ipv6_enabled 0" >> /etc/systemd/system/tracker.service
|
||||||
echo '' >> /etc/systemd/system/tracker.service
|
echo '' >> /etc/systemd/system/tracker.service
|
||||||
echo 'TimeoutSec=300' >> /etc/systemd/system/tracker.service
|
echo 'TimeoutSec=300' >> /etc/systemd/system/tracker.service
|
||||||
echo '' >> /etc/systemd/system/tracker.service
|
echo '' >> /etc/systemd/system/tracker.service
|
||||||
|
|
|
@ -80,7 +80,7 @@ if [ $existing_bttrack -lt "2" ]; then
|
||||||
if [ ! -d ~/.bttrack ]; then
|
if [ ! -d ~/.bttrack ]; then
|
||||||
mkdir ~/.bttrack
|
mkdir ~/.bttrack
|
||||||
fi
|
fi
|
||||||
bttrack --port ${TRACKER_PORT} --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full &
|
bttrack --port ${TRACKER_PORT} --dfile ~/.bttrack/dstate --logfile ~/.bttrack/tracker.log --nat_check 0 --scrape_allowed full --ipv6_enabled 0 &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
zeronetavahi
|
zeronetavahi
|
||||||
|
|
Loading…
Reference in New Issue