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

Less errors in logs

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-10-20 08:31:12 +00:00
parent 192ff0620b
commit e527e52c70
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ _multipath() {
}
_glorytun_udp() {
[ -z "$(glorytun show dev gt-udp-tun0 2>/dev/null | grep server)" ] && {
[ -z "$(glorytun show dev gt-udp-tun0 2>/dev/null | grep tunnel)" ] && {
logger -t "OMR-Service" "Restart Glorytun-UDP"
systemctl -q restart 'glorytun-udp@*'
}