Changes between Version 12 and Version 13 of SysAdmin/Pootle


Ignore:
Timestamp:
05/21/13 16:25:34 (12 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SysAdmin/Pootle

    v12 v13  
    5555pip install pootle
    5656
     57# Reduce MacClients
     58sed -i 's|150|20|' /etc/apache2/apache2.conf
     59
     60adduser --system --disabled-password pootle
     61addgroup pootle
     62
     63cd /var/www
     64ln -s /usr/local/lib/python2.6/dist-packages/pootle
     65chgrp pootle /var/www/pootle/po
     66
     67cat << EOF > "/etc/apache2/sites-available/pootle"
     68WSGIScriptAlias /pootle /var/www/pootle/wsgi.py
     69
     70WSGIDaemonProcess pootle processes=2 threads=3 stack-size=1048576 maximum-requests=5000 inactivity-timeout=900 display-name=%{GROUP}
     71WSGIProcessGroup pootle
     72
     73Alias /pootle/assets /var/www/pootle/assets
     74<Directory /var/www/Pootle/assets>
     75Order deny,allow
     76Allow from all
     77</Directory>
     78
     79Alias /pootle/export /var/www/pootle/po
     80<Directory /var/www/pootle/po>
     81Order deny,allow
     82Allow from all
     83</Directory>
     84EOF
     85
     86a2ensite pootle
     87/etc/init.d/apache2 restart
     88
    5789}}}
    5890