# ==========
# Globals
env.project_name = 'koedquiz'
+env.wsgi_name = env.project_name
env.use_south = True
env.virtualenv = '/usr/bin/virtualenv'
env.server_admin = 'Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>'
env.access_log = 'koedquiz/openquiz.log'
env.error_log = 'koedquiz/openquiz-errors.log'
+ env.wsgi_name = 'openquiz'
def pdquiz():
env.hosts = ['giewont.icm.edu.pl']
env.server_admin = 'Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>'
env.access_log = 'koedquiz/pdquiz.log'
env.error_log = 'koedquiz/pdquiz-errors.log'
+ env.wsgi_name = 'pdquiz'
ServerName "%(server_name)s"
ServerAdmin "%(server_admin)s"
- WSGIDaemonProcess %(project_name)s user=%(user)s group=%(user)s processes=2 threads=15 display-name=%%{GROUP} python-path=%(site_packages)s
- WSGIProcessGroup %(project_name)s
+ WSGIDaemonProcess %(wsgi_name)s user=%(user)s group=%(user)s processes=2 threads=15 display-name=%%{GROUP} python-path=%(site_packages)s
+ WSGIProcessGroup %(wsgi_name)s
WSGIScriptAlias / %(path)s/%(project_name)s.wsgi
<Directory %(path)s>