diff --git a/etc/apache2/sites-available/colab b/etc/apache2/sites-available/colab deleted file mode 100644 index af71c32..0000000 --- a/etc/apache2/sites-available/colab +++ /dev/null @@ -1,48 +0,0 @@ - - ServerName colab01a.interlegis.leg.br - ServerAlias colab.interlegis.leg.br - ServerAlias colab.interlegis.gov.br - - - Order deny,allow - Allow from all - - - RewriteEngine On - RewriteRule ^/login(.*) http://colab-backend.interlegis.leg.br/login$1 [P] - RewriteRule ^/logout(.*) http://colab-backend.interlegis.leg.br/logout$1 [P] - - WSGIDaemonProcess colab user=www-data group=www-data threads=25 - WSGIProcessGroup colab - - Alias /static/admin/ /usr/local/django/colab/lib/python2.6/site-packages/django/contrib/admin/media/ - - Options -Indexes - Order deny,allow - Allow from all - AllowOverride None - - - Alias /static/ /usr/local/django/colab/static/ - - Options -Indexes - Order deny,allow - Allow from all - AllowOverride None - - - WSGIScriptAlias / /usr/local/django/colab/wsgi/colab.wsgi - - Order deny,allow - Allow from all - AllowOverride None - - - ErrorLog /var/log/apache2/error.log - - # Possible values include: debug, info, notice, warn, error, crit, - # alert, emerg. - LogLevel warn - - CustomLog /var/log/apache2/access.log combined - diff --git a/etc/apache2/wsgi/colab.wsgi b/etc/apache2/wsgi/colab.wsgi deleted file mode 100644 index 8645c6e..0000000 --- a/etc/apache2/wsgi/colab.wsgi +++ /dev/null @@ -1,12 +0,0 @@ -import site -import os - -cwd_path = os.path.abspath(os.path.dirname(__file__)) -virtualenv_path = os.path.join(cwd_path, '../lib/python2.6/site-packages') -site.addsitedir(virtualenv_path) - -from django.core.handlers.wsgi import WSGIHandler -os.environ['DJANGO_SETTINGS_MODULE'] = 'colab.settings' -application = WSGIHandler() - - diff --git a/etc/autofs/listas b/etc/autofs/listas deleted file mode 100644 index 94c29c5..0000000 --- a/etc/autofs/listas +++ /dev/null @@ -1 +0,0 @@ -archives -fstype=fuse,rw,nodev,users,noatime :sshfs\#root@listas.interlegis.gov.br\:/var/lib/mailman/archives/private diff --git a/etc/cron.d/colab_import_emails b/etc/cron.d/colab_import_emails deleted file mode 100644 index 583e332..0000000 --- a/etc/cron.d/colab_import_emails +++ /dev/null @@ -1,2 +0,0 @@ -PATH="/usr/local/django/colab/bin" -* * * * * 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 diff --git a/etc/cron.d/colab_solr_reindex b/etc/cron.d/colab_solr_reindex deleted file mode 100644 index e588180..0000000 --- a/etc/cron.d/colab_solr_reindex +++ /dev/null @@ -1,3 +0,0 @@ -PATH="/usr/bin" -*/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 -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 -- libgit2 0.21.2