update 2024-10-10 04:13:52

This commit is contained in:
actions-user 2024-10-10 04:13:52 +08:00
parent 88c2e4ebb5
commit 3aaa78b817

View File

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