From eea75e4271334c97182973635a34a93458d6b83a Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 6 Sep 2020 13:11:12 +0530 Subject: [PATCH] added curie systemd file --- misc/curie.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 misc/curie.service 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