mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Increase OMR API check
This commit is contained in:
parent
da1a6c3560
commit
25b68f6228
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…
Add table
Add a link
Reference in a new issue