KanonConductor

changeset 63:4ef8f593a8f4

tune up time line picture loading speed(fixed #32).
author okamototk
date Wed, 20 Jul 2011 20:46:26 +0900
parents 09529a4bfbee
children a37c038c0f07
files kanon-setup resource/httpd.conf
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/kanon-setup	Thu Jun 30 08:34:48 2011 +0900
     1.2 +++ b/kanon-setup	Wed Jul 20 20:46:26 2011 +0900
     1.3 @@ -251,7 +251,7 @@
     1.4          cp resource/trac_hook.py /usr/lib/python2.6/dist-packages/bzrlib/plugins
     1.5          if [ ! -f /etc/apache2/sites-available/kanon ]
     1.6          then
     1.7 -            cp resource/httpd.conf /etc/apache2/sites-available/kanon
     1.8 +            sed s/\%APACHE_USER\%/$APACHE_USER/g resource/httpd.conf > /etc/apache2/sites-available/kanon
     1.9              cp resource/httpd-vcs.conf /etc/apache2/sites-available/vcs
    1.10          fi
    1.11          a2enmod expires
    1.12 @@ -273,7 +273,7 @@
    1.13          cp resource/trac_hook.py /usr/lib/python2.6/site-packages/bzrlib/plugin
    1.14          if [ ! -f /etc/httpd/conf.d/kanon.conf ]
    1.15          then
    1.16 -            cp resource/httpd.conf /etc/httpd/conf.d/kanon.conf
    1.17 +            sed s/\%APACHE_USER\%/$APACHE_USER/g resource/httpd.conf > /etc/httpd/conf.d/kanon.conf
    1.18              cp resource/httpd-vcs.conf /etc/httpd/conf.d/vcs.conf
    1.19          fi
    1.20          echo 0 > /selinux/enforce
     2.1 --- a/resource/httpd.conf	Thu Jun 30 08:34:48 2011 +0900
     2.2 +++ b/resource/httpd.conf	Wed Jul 20 20:46:26 2011 +0900
     2.3 @@ -1,4 +1,6 @@
     2.4  WSGIPythonPath /opt/kanon/lib/python2.6:/opt/kanon/lib/python2.6/site-packages
     2.5 +WSGIDaemonProcess kanon user=%APACHE_USER% group=%APACHE_USER% processes=2 threads=25 maximum-requests=10000 python-path=/opt/kanon/lib/python2.6:/opt/kanon/lib/python2.6/site-packages
     2.6 +WSGIProcessGroup kanon
     2.7  # Tracのログイン設定
     2.8  <LocationMatch "/[^/]+/login($|/)">
     2.9  	AuthType Digest