aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
author0livd <0livd@users.noreply.github.com>2017-06-28 00:04:47 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2017-06-28 00:04:47 +0200
commit603ac10d6eb485c9a95f253a14d4967f4aafbfa3 (patch)
treedec2d60bc1a083a363d311994a051b983c4ca55d /conf
parent2ad4ef5466fa656b26a89d0c59bfd35bf784a76f (diff)
downloadihatemoney-mirror-603ac10d6eb485c9a95f253a14d4967f4aafbfa3.zip
ihatemoney-mirror-603ac10d6eb485c9a95f253a14d4967f4aafbfa3.tar.gz
ihatemoney-mirror-603ac10d6eb485c9a95f253a14d4967f4aafbfa3.tar.bz2
Turn the WSGI file into a python module (#240)
* Turn the WSGI file into a python module * Update conf files to use the new wsgi module Apache and gunicorn now use the same entrypoint * Update Changelog
Diffstat (limited to 'conf')
-rw-r--r--conf/apache-vhost.conf2
-rw-r--r--conf/supervisord.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/apache-vhost.conf b/conf/apache-vhost.conf
index b3f1349..b26feaa 100644
--- a/conf/apache-vhost.conf
+++ b/conf/apache-vhost.conf
@@ -3,7 +3,7 @@
ServerName ihatemoney.example.com
# Uncomment the python-home option if you use a virtualenv
WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path=/path/to/ihatemoney/budget # python-home=/path/to/your/venv
- WSGIScriptAlias / /path/to/ihatemoney/budget/ihatemoney.wsgi
+ WSGIScriptAlias / /path/to/ihatemoney/budget/wsgi.py
ErrorLog /var/log/apache2/ihatemoney.example.com_error.log
CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined
<Directory /path/to/ihatemoney>
diff --git a/conf/supervisord.conf b/conf/supervisord.conf
index ec2d452..1b5dbbf 100644
--- a/conf/supervisord.conf
+++ b/conf/supervisord.conf
@@ -1,5 +1,5 @@
[program:budget]
-command=/path/to/your/app/venv/bin/gunicorn -c /path/to/your/app/conf/gunicorn.conf.py run:app
+command=/path/to/your/app/venv/bin/gunicorn -c /path/to/your/app/conf/gunicorn.conf.py wsgi:application
directory=/path/to/your/app/budget/
user=www
autostart=true