How to automatically restart action and nlu servers?

Sometimes, action or nlu server has becoming frozen due to unknown errors. Is there a way to restart both servers automatically under the frozen situation?

Hi @yiouyou, do you have the corresponding logs for when the Rasa OSS or Action server freeze?

@fede Where can I find the logs? What I observed is that I can’t ctrl+C to terminate the action or nlu process under wsl2 ubuntu. It just freezed somehow.