aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-27 21:12:28 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-27 21:12:28 +0530
commit0ec82db13f2247602fb898a8ca857052d6196fa6 (patch)
tree0bb9863431fa0d6092938db79187a613c9671b20 /misc
parent62ef381c57edc455b0c9b49b62afda76bc20d8fa (diff)
added sample curie systemd service with https
Diffstat (limited to 'misc')
-rw-r--r--misc/curie_https.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/curie_https.service b/misc/curie_https.service
new file mode 100644
index 0000000..08d89f9
--- /dev/null
+++ b/misc/curie_https.service
@@ -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