hanqingwu commented on issue #10495:
URL: https://github.com/apache/apisix/issues/10495#issuecomment-1867396185

   i have got a root cause,  so i can submit a PR . 
   when apisix is running and after kill,  it return to exit 
   
   --- a/apisix/cli/ops.lua
   +++ b/apisix/cli/ops.lua
   @@ -805,8 +805,8 @@ local function start(env, ...)
    
            local ok, err, err_no = signal.kill(pid, signone)
            if ok then
   -            print("APISIX is running...")
   -            return
   +            print("APISIX is running... and now kill ...")
   +        --    return
            -- no such process
            elseif err_no ~= errno.ESRCH then
                print(err)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to