Leandro Roberto Silva
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
1 deletions
-
scripts/gunicorn_start.sh
|
|
|
@ -1,7 +1,10 @@ |
|
|
|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
# SCRIPT DE INICIALIZAÇÃO VIA SOKEFILE |
|
|
|
|
|
|
|
# As seen in http://tutos.readthedocs.org/en/latest/source/ndg.html |
|
|
|
|
|
|
|
|
|
|
|
SAPL_DIR="/var/interlegis/sapl" |
|
|
|
|
|
|
|
# Seta um novo diretório foi passado como raiz para o SAPL |
|
|
|
@ -47,4 +50,5 @@ exec gunicorn ${DJANGO_WSGI_MODULE}:application \ |
|
|
|
--user $USER \ |
|
|
|
--access-logfile /var/log/sapl/access.log \ |
|
|
|
--error-logfile /var/log/sapl/error.log \ |
|
|
|
--bind=unix:$SOCKFILE |
|
|
|
--bind=unix:$SOCKFILE |
|
|
|
|
|
|
|
|