mirror of
https://github.com/kenzok8/small.git
synced 2025-01-05 10:36:40 +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()
|
||||
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.write_json(e)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user