1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Fix issue with Glorytun-UDP

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-03-12 19:38:43 +01:00
parent dc621e8272
commit eaf506836a
2 changed files with 8 additions and 0 deletions

View file

@ -13,7 +13,12 @@ _multipath() {
done
}
_glorytun_udp() {
[ -z "$(glorytun show dev gt-udp-tun0 2>/dev/null | grep server)" ] && systemctl -q restart glorytun-udp@*
}
while true; do
_glorytun_udp
_multipath
sleep 10
done