run script and service

This commit is contained in:
2021-06-17 15:56:44 +03:00
parent 49bf010b87
commit d91152fdfb
3 changed files with 23 additions and 2 deletions

7
run.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
cd "$( dirname "$0" )" || exit
. venv/bin/activate
gunicorn --bind 0.0.0.0:18333 pub1c-rest:app