Commit 5a20f179393d2676cfdef4054636560913f7f7b6

Authored by Rohan Rangray
1 parent f89846b3c0
Exists in master

Added the dir change to the top of the script

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

scripts/notify_users.sh View file @ 5a20f17
1 1 #!/bin/bash -xe
  2 +
  3 +cd /srv/flashy-backend
  4 +
2 5 source secrets.sh
3 6 source venv/bin/activate
4 7  
5   -cd /srv/flashy-backend
6 8 python manage.py notifyusers 2>&1 >> /var/log/usernotifications