1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-12 11:21:56 +00:00

Increase VPS API check timeout

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-09-15 12:27:08 +00:00
parent a3aaeac2d3
commit d5a9321d65

View file

@ -30,7 +30,7 @@ _glorytun_tcp() {
}
_omr_api() {
[ -z "$(curl -s -k -m 3 https://127.0.0.1:65500/)" ] && {
[ -z "$(curl -s -k -m 30 https://127.0.0.1:65500/)" ] && {
logger -t "OMR-Service" "Restart OMR-Admin"
systemctl -q restart omr-admin
}