aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-06 13:11:12 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-06 13:11:12 +0530
commiteea75e4271334c97182973635a34a93458d6b83a (patch)
treeed3ef745296dc57728be5d969b10064635c70d3e /misc
parent1086f53538fe039f8be81cdb67e69d40b914beca (diff)
added curie systemd file
Diffstat (limited to 'misc')
-rw-r--r--misc/curie.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/curie.service b/misc/curie.service
new file mode 100644
index 0000000..ab998d8
--- /dev/null
+++ b/misc/curie.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"
+
+[Install]
+WantedBy=multi-user.target