From 5a20f179393d2676cfdef4054636560913f7f7b6 Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Wed, 3 Jun 2015 04:24:46 -0700 Subject: [PATCH] Added the dir change to the top of the script --- scripts/notify_users.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/notify_users.sh b/scripts/notify_users.sh index 16211bd..497c25f 100644 --- a/scripts/notify_users.sh +++ b/scripts/notify_users.sh @@ -1,6 +1,8 @@ #!/bin/bash -xe + +cd /srv/flashy-backend + source secrets.sh source venv/bin/activate -cd /srv/flashy-backend python manage.py notifyusers 2>&1 >> /var/log/usernotifications -- 1.9.1