How to Restart FastAPI Server with Bash Script
Published in
6 min readNov 12, 2020
One simple trick to make your life easier
By reading this piece, you will learn to create a bash script that automates the restart process for your FastAPI server (production). As you have known, you can restart the server by using the reload argument during development.
uvicorn myapp:app --reload