2016-01-19 10:41:03 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
2017-08-23 10:28:12 +00:00
|
|
|
[ -z "$AIL_HOME" ] && echo "Needs the env var AIL_HOME. Run the script from the virtual environment." && exit 1;
|
|
|
|
[ -z "$AIL_REDIS" ] && echo "Needs the env var AIL_REDIS. Run the script from the virtual environment." && exit 1;
|
|
|
|
[ -z "$AIL_LEVELDB" ] && echo "Needs the env var AIL_LEVELDB. Run the script from the virtual environment." && exit 1;
|
|
|
|
|
2016-01-19 10:41:03 +00:00
|
|
|
screen -dmS "Queue"
|
|
|
|
sleep 0.1
|
|
|
|
|
|
|
|
echo -e $GREEN"\t* Launching all the queues"$DEFAULT
|
|
|
|
screen -S "Queue" -X screen -t "Queues" bash -c './launch_queues.py; read x'
|
|
|
|
|