mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-12 19:31:54 +00:00
Increase VPS API check timeout
This commit is contained in:
parent
a3aaeac2d3
commit
d5a9321d65
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue