1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update luci-haproxy-tcp

This commit is contained in:
Ycarus 2018-02-28 12:16:51 +01:00
parent 34d27e1361
commit 07d8b89305
3 changed files with 7 additions and 71 deletions

View file

@ -1,6 +1,6 @@
local m, s, o
if luci.sys.call("pgrep haproxy-tcp >/dev/null") == 0 then
if luci.sys.call("pgrep haproxy >/dev/null") == 0 then
m = Map("haproxy-tcp", translate("HAProxy-TCP"), "%s - %s" %{translate("HAProxy-TCP"), translate("RUNNING")})
else
m = Map("haproxy-tcp", translate("HAProxy-TCP"), "%s - %s" %{translate("HAProxy-TCP"), translate("NOT RUNNING")})