Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ Listen 8082
<VirtualHost *:8082>
WSGIDaemonProcess postmaster user=www-data group=www-data threads=5
WSGIScriptAlias / /opt/postmaster/git/postmaster.wsgi
ErrorLog /opt/postmaster/logs/postmaster.error.log
CustomLog /opt/postmaster/logs/postmaster.access.log common

<Directory /opt/postmaster/git/>
WSGIProcessGroup postmaster
Expand Down
2 changes: 0 additions & 2 deletions ops/ansible/roles/postmaster_deploy/tasks/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@
command: /opt/postmaster/env/bin/python /opt/postmaster/git/manage.py clean
args:
chdir: /opt/postmaster/git
removes: /opt/postmaster/git/db

- name: Migrate tables
command: /opt/postmaster/env/bin/python /opt/postmaster/git/manage.py upgradedb
args:
chdir: /opt/postmaster/git
creates: /opt/postmaster/git/db/migrations