mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-09-29 16:21:32 +00:00
Update docker.py
This commit is contained in:
parent
90a15344c0
commit
0b2674f98f
|
@ -18,7 +18,7 @@ def get_process_perc(app_name):
|
|||
http_port = read_env(path, "APP_HTTP_PORT")
|
||||
output = shell_execute.execute_command_output_all("curl localhost:" + http_port)
|
||||
code = output["code"]
|
||||
if int(code) == 0 and output["result"].find("Failed connect")!= -1:
|
||||
if int(code) == 0 and output["result"].find("Failed") != -1:
|
||||
process_now = "running"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue