Thank you for sharing this. I have tried the NSSM answer you shared but this isn't deployment friendly as is. It would need the conda/venv to be set up on the machine as well as the source code. Perhaps, using the server executable along with nssm might be another option in case the server needs to be deployed to several machines (which is my use case) as a service on local network.