set working directory

added code to allow it to be ran from outside of the working directory.
This commit is contained in:
orbitroom 2015-01-20 19:00:13 -05:00
parent 40c4eff8c7
commit e794d389d7

4
start_bg_tasks.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd ${0%/*}
screen -dm bash -c 'python manage.py celeryd --verbosity=2 --loglevel=DEBUG'
screen -dm bash -c 'python manage.py celerybeat --verbosity=2 --loglevel=DEBUG'