mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-14 12:21:56 +00:00
Set a better log message on omr-service
This commit is contained in:
parent
2806a8078a
commit
039218a015
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ _wireguard() {
|
|||
|
||||
_omr_api() {
|
||||
[ -z "$(pgrep curl)" ] && [ -z "$(curl -s -k -m 30 https://127.0.0.1:65500/)" ] && {
|
||||
logger -t "OMR-Service" "Restart OMR-Admin"
|
||||
logger -t "OMR-Service" "Can't contact API, restart OMR-Admin"
|
||||
systemctl -q restart omr-admin
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue