Commit 539076bbc7ac18364ce9d2d94ba3cab4f00d647c
1 parent
05eafcb1
Exists in
master
and in
39 other branches
Removing etc
Now that's all done by Django
Showing
5 changed files
with
0 additions
and
66 deletions
Show diff stats
etc/apache2/sites-available/colab
| ... | ... | @@ -1,48 +0,0 @@ |
| 1 | -<VirtualHost *:80> | |
| 2 | - ServerName colab01a.interlegis.leg.br | |
| 3 | - ServerAlias colab.interlegis.leg.br | |
| 4 | - ServerAlias colab.interlegis.gov.br | |
| 5 | - | |
| 6 | - <Proxy *> | |
| 7 | - Order deny,allow | |
| 8 | - Allow from all | |
| 9 | - </Proxy> | |
| 10 | - | |
| 11 | - RewriteEngine On | |
| 12 | - RewriteRule ^/login(.*) http://colab-backend.interlegis.leg.br/login$1 [P] | |
| 13 | - RewriteRule ^/logout(.*) http://colab-backend.interlegis.leg.br/logout$1 [P] | |
| 14 | - | |
| 15 | - WSGIDaemonProcess colab user=www-data group=www-data threads=25 | |
| 16 | - WSGIProcessGroup colab | |
| 17 | - | |
| 18 | - Alias /static/admin/ /usr/local/django/colab/lib/python2.6/site-packages/django/contrib/admin/media/ | |
| 19 | - <Directory /usr/local/django/colab/lib/python2.6/site-packages/django/contrib/admin/media/> | |
| 20 | - Options -Indexes | |
| 21 | - Order deny,allow | |
| 22 | - Allow from all | |
| 23 | - AllowOverride None | |
| 24 | - </Directory> | |
| 25 | - | |
| 26 | - Alias /static/ /usr/local/django/colab/static/ | |
| 27 | - <Directory /usr/local/django/colab/static/> | |
| 28 | - Options -Indexes | |
| 29 | - Order deny,allow | |
| 30 | - Allow from all | |
| 31 | - AllowOverride None | |
| 32 | - </Directory> | |
| 33 | - | |
| 34 | - WSGIScriptAlias / /usr/local/django/colab/wsgi/colab.wsgi | |
| 35 | - <Directory /usr/local/django/colab/wsgi/> | |
| 36 | - Order deny,allow | |
| 37 | - Allow from all | |
| 38 | - AllowOverride None | |
| 39 | - </Directory> | |
| 40 | - | |
| 41 | - ErrorLog /var/log/apache2/error.log | |
| 42 | - | |
| 43 | - # Possible values include: debug, info, notice, warn, error, crit, | |
| 44 | - # alert, emerg. | |
| 45 | - LogLevel warn | |
| 46 | - | |
| 47 | - CustomLog /var/log/apache2/access.log combined | |
| 48 | -</VirtualHost> |
etc/apache2/wsgi/colab.wsgi
| ... | ... | @@ -1,12 +0,0 @@ |
| 1 | -import site | |
| 2 | -import os | |
| 3 | - | |
| 4 | -cwd_path = os.path.abspath(os.path.dirname(__file__)) | |
| 5 | -virtualenv_path = os.path.join(cwd_path, '../lib/python2.6/site-packages') | |
| 6 | -site.addsitedir(virtualenv_path) | |
| 7 | - | |
| 8 | -from django.core.handlers.wsgi import WSGIHandler | |
| 9 | -os.environ['DJANGO_SETTINGS_MODULE'] = 'colab.settings' | |
| 10 | -application = WSGIHandler() | |
| 11 | - | |
| 12 | - |
etc/autofs/listas
| ... | ... | @@ -1 +0,0 @@ |
| 1 | -archives -fstype=fuse,rw,nodev,users,noatime :sshfs\#root@listas.interlegis.gov.br\:/var/lib/mailman/archives/private |
etc/cron.d/colab_import_emails
| ... | ... | @@ -1,2 +0,0 @@ |
| 1 | -PATH="/usr/local/django/colab/bin" | |
| 2 | -* * * * * root DJANGO_SETTINGS_MODULE="colab.settings" django-admin.py import_emails --archives_path=/usr/local/django/colab/mnt/archives/ --exclude-list=saberes-divulgacao --exclude-list=pml --exclude-list=mailman --exclude-list=lexml-anuncios > /tmp/colab-import-emails-last.log |
etc/cron.d/colab_solr_reindex
| ... | ... | @@ -1,3 +0,0 @@ |
| 1 | -PATH="/usr/bin" | |
| 2 | -*/1 * * * * root wget "http://solr.interlegis.leg.br:8080/solr/dataimport?wt=json&indent=true&command=delta-import" -q -O - >> /tmp/solr-delta-import.log | |
| 3 | -4 6 * * * root wget "http://solr.interlegis.leg.br:8080/solr/dataimport?wt=json&indent=true&command=full-import" -q -O - >> /tmp/solr-full-import.log |