Skip to content

Commit

Permalink
Add variables for web and gunicorn users
Browse files Browse the repository at this point in the history
  • Loading branch information
storax committed Jul 31, 2015
1 parent 1c84d1c commit e37debe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions env_vars/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ superuser_email: [email protected]
db_user: "{{ application_name }}"
db_name: "{{ application_name }}"

web_user: "{{ application_name }}"
web_group: webapps

# Nginx settings
nginx_static_dir: "{{ virtualenv_path }}/static/"
nginx_media_dir: "{{ virtualenv_path }}/media/"
Expand Down
2 changes: 2 additions & 0 deletions env_vars/masterserver.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---

# gunicorn ---------------------------------------------------------------------
gunicorn_user: "{{ web_user}}"
gunicorn_group: "{{ web_group }}"
gunicorn_num_workers: 3
gunicorn_timeout_seconds: 300
gunicorn_workdir: "{{ project_path }}"
Expand Down

0 comments on commit e37debe

Please sign in to comment.