mirror of
https://github.com/kenzok8/small.git
synced 2025-01-07 03:26:39 +08:00
update 2024-10-10 04:13:52
This commit is contained in:
parent
88c2e4ebb5
commit
3aaa78b817
@ -25,7 +25,7 @@ end
|
|||||||
|
|
||||||
function act_status()
|
function act_status()
|
||||||
local e = {}
|
local e = {}
|
||||||
e.running = sys.call("pgrep -f mosdns >/dev/null") == 0
|
e.running = sys.call("pgrep -f /usr/bin/mosdns >/dev/null") == 0
|
||||||
http.prepare_content("application/json")
|
http.prepare_content("application/json")
|
||||||
http.write_json(e)
|
http.write_json(e)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user