bisakhmondal commented on issue #2008: URL: https://github.com/apache/apisix-dashboard/issues/2008#issuecomment-894655656
Hi @nic-chen, there is a `--force or -f` flag to override this. Yeah, while adding that feature I haven't thought about shutdown behaviour. For sake of shutdown from the CLI and when the process is running itself as a daemon, we have this feature. However, I think instead of blindly returning an error/warning, we could just perform a lookup for that PID, if the process exists we will throw an error and if not, a new instance will be created. Let me know, how does this sound? I'll be happy to add the patch. Thanks :) -- 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]
