mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 11:01:50 +00:00
Force dnsmasq restart when setting IPs in omr-tracker-server
This commit is contained in:
parent
b4ec9f6d3e
commit
bf9a0a4e21
1 changed files with 2 additions and 0 deletions
|
@ -317,6 +317,7 @@ _check_master() {
|
||||||
/etc/init.d/shadowsocks-libev restart >/dev/null 2>/dev/null
|
/etc/init.d/shadowsocks-libev restart >/dev/null 2>/dev/null
|
||||||
/etc/init.d/shadowsocks-rust restart >/dev/null 2>/dev/null
|
/etc/init.d/shadowsocks-rust restart >/dev/null 2>/dev/null
|
||||||
/etc/init.d/openvpn restart omr >/dev/null 2>/dev/null
|
/etc/init.d/openvpn restart omr >/dev/null 2>/dev/null
|
||||||
|
/etc/init.d/dnsmasq restart >/dev/null 2>/dev/null
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
@ -502,6 +503,7 @@ _check_backup() {
|
||||||
/etc/init.d/shadowsocks-libev restart >/dev/null 2>/dev/null
|
/etc/init.d/shadowsocks-libev restart >/dev/null 2>/dev/null
|
||||||
/etc/init.d/shadowsocks-rust restart >/dev/null 2>/dev/null
|
/etc/init.d/shadowsocks-rust restart >/dev/null 2>/dev/null
|
||||||
/etc/init.d/openvpn restart omr >/dev/null 2>/dev/null
|
/etc/init.d/openvpn restart omr >/dev/null 2>/dev/null
|
||||||
|
/etc/init.d/dnsmasq restart >/dev/null 2>/dev/null
|
||||||
}
|
}
|
||||||
[ "$server_ping" = true ] && break
|
[ "$server_ping" = true ] && break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue