service (WIP - venv fixes?)
This commit is contained in:
parent
136ca40713
commit
e3b1ac8bd1
4 changed files with 36 additions and 5 deletions
13
deploy/jet-search.service
Normal file
13
deploy/jet-search.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=JetSearch Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/root/jet-search
|
||||
Environment="PATH=/root/jet-search/venv/bin"
|
||||
ExecStart=/root/jet-search/venv/bin/gunicorn wsgi:app -b '127.0.0.1:5000'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue