[Unit] Description=gunicorn daemon After=network.target [Service] User=ubuntu Group=ubuntu WorkingDirectory=/home/ubuntu/Curie-Web ExecStart=/usr/bin/gunicorn api:app -k uvicorn.workers.UvicornWorker -b "0.0.0.0:7589" --certfile=cert.pem --keyfile=privkey.pem [Install] WantedBy=multi-user.target