From 960cc689851eb751dbc8052d7226f259ae781f42 Mon Sep 17 00:00:00 2001
From: Branson Stephens <branson.stephens@ligo.org>
Date: Fri, 19 Jun 2015 15:53:53 -0500
Subject: [PATCH] Settings for new djangoenv virtualenv on production server.

---
 settings/default.py | 3 ++-
 wsgi/django.wsgi    | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/settings/default.py b/settings/default.py
index 2c7123682..5807e1546 100644
--- a/settings/default.py
+++ b/settings/default.py
@@ -28,7 +28,8 @@ ALERT_TEST_EMAIL_TO = [
 #ALERT_XMPP_SERVER = "lvalert.phys.uwm.edu"
 #ALERT_XMPP_SERVERS = ["lvalert.phys.uwm.edu", "lvalert.cgca.uwm.edu"]
 ALERT_XMPP_SERVERS = ["lvalert.cgca.uwm.edu"]
-LVALERT_SEND_EXECUTABLE = '/usr/bin/lvalert_send'
+#LVALERT_SEND_EXECUTABLE = '/usr/bin/lvalert_send'
+LVALERT_SEND_EXECUTABLE = '/home/gracedb/djangoenv/bin/lvalert_send'
 
 USE_LVALERT_OVERSEER = False
 
diff --git a/wsgi/django.wsgi b/wsgi/django.wsgi
index 4d8911b6f..9a3ff6803 100644
--- a/wsgi/django.wsgi
+++ b/wsgi/django.wsgi
@@ -7,7 +7,7 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
 sys.path.append('/home/gracedb/graceproj')
 
 # Activate the virtual environment
-VIRTUALENV_ACTIVATOR = "/home/lars/wsgi-sandbox/bin/activate_this.py"
+VIRTUALENV_ACTIVATOR = "/home/gracedb/djangoenv/bin/activate_this.py"
 execfile(VIRTUALENV_ACTIVATOR, dict(__file__=VIRTUALENV_ACTIVATOR))
 
 os.environ['MPLCONFIGDIR']='/tmp/'
-- 
GitLab