mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Start creating webapp.sh script template
See https://github.com/ascoderu/opwen-webapp/blob/master/setup/setup-lokole.sh#L384
This commit is contained in:
parent
7c256b8a72
commit
9a0cc84630
1 changed files with 9 additions and 0 deletions
9
roles/lokole/templates/webapp.sh.j2
Normal file
9
roles/lokole/templates/webapp.sh.j2
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env sh
|
||||
. '${opwen_webapp_envs}'
|
||||
|
||||
'{{lokole_venv}}/bin/gunicorn' \\
|
||||
--timeout='300' \\
|
||||
--workers='${opwen_webapp_workers}' \\
|
||||
--bind='unix:{{lokole_domain_socket}}' \\
|
||||
--log-level='error' \\
|
||||
'opwen_email_client.webapp:app'
|
Loading…
Add table
Add a link
Reference in a new issue