1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2023-07-11 17:07:47 +00:00
parent 2806a8078a
commit 039218a015

View file

@ -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
}
}