Update apimanager.service

added gunicorn timeout increase
This commit is contained in:
tesobe-daniel 2019-06-25 13:27:30 +02:00 committed by GitHub
parent dd6d54ee45
commit eed4909c56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,9 @@ Group=deploy
SyslogIdentifier=API-Manager
Restart=always
WorkingDirectory=/var/www/apimanager/API-Manager/apimanager
ExecStart=/var/www/apimanager/venv/bin/gunicorn --user deploy --group deploy --config /var/www/apimanager/API-Manager/gunicorn.conf.py apimanager.wsgi
ExecStart=/var/www/apimanager/venv/bin/gunicorn -t 3000--user deploy --group deploy --config /var/www/apimanager/API-Manager/gunicorn.conf.py apimanager.wsgi
# set -t <secs> to higher value to avoid timeouts with KPI Dashboard / API Metrics etc.
[Install]
WantedBy=multi-user.target