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:
parent
34d27e1361
commit
07d8b89305
3 changed files with 7 additions and 71 deletions
|
@ -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")})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue