added sample curie systemd service with https

This commit is contained in:
Navan Chauhan 2020-09-27 21:12:28 +05:30
parent 62ef381c57
commit 0ec82db13f
1 changed files with 12 additions and 0 deletions

12
misc/curie_https.service Normal file
View File

@ -0,0 +1,12 @@
[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