Split secscan endpoints into a new process
This commit is contained in:
parent
fdf81860a1
commit
cc8e58e7f4
7 changed files with 38 additions and 5 deletions
2
conf/init/service/gunicorn_secscan/log/run
Executable file
2
conf/init/service/gunicorn_secscan/log/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec logger -i -t gunicorn_web
|
8
conf/init/service/gunicorn_secscan/run
Executable file
8
conf/init/service/gunicorn_secscan/run
Executable file
|
@ -0,0 +1,8 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo 'Starting gunicon'
|
||||
|
||||
cd /
|
||||
venv/bin/gunicorn -c conf/gunicorn_secscan.py secscan:application
|
||||
|
||||
echo 'Gunicorn exited'
|
Reference in a new issue