update: start_all.sh

pull/15/head
Sami Mokaddem 2017-12-04 14:36:30 +01:00
parent 25f50fb8df
commit 92ccd8517e
1 changed files with 4 additions and 1 deletions

View File

@ -15,10 +15,13 @@ screenName="Misp-Dashboard"
screen -dmS "$screenName" screen -dmS "$screenName"
sleep 0.1 sleep 0.1
echo -e $GREEN"\t* Launching Redis servers"$DEFAULT echo -e $GREEN"\t* Launching Redis servers"$DEFAULT
screen -S "$screenName" -X screen -t "redis-server" bash -c $redis_dir'redis-server '$conf_dir'6250.conf ; read x' screen -S "$screenName" -X screen -t "redis-server" bash -c $redis_dir'redis-server '$conf_dir'6250.conf; read x'
echo -e $GREEN"\t* Launching zmq subscriber"$DEFAULT echo -e $GREEN"\t* Launching zmq subscriber"$DEFAULT
screen -S "$screenName" -X screen -t "zmq-subscriber" bash -c './zmq_subscriber.py; read x' screen -S "$screenName" -X screen -t "zmq-subscriber" bash -c './zmq_subscriber.py; read x'
echo -e $GREEN"\t* Launching zmq dispatcher"$DEFAULT
screen -S "$screenName" -X screen -t "zmq-dispatcher" bash -c './zmq_dispatcher.py; read x'
echo -e $GREEN"\t* Launching flask server"$DEFAULT echo -e $GREEN"\t* Launching flask server"$DEFAULT
screen -S "$screenName" -X screen -t "flask" bash -c './server.py; read x' screen -S "$screenName" -X screen -t "flask" bash -c './server.py; read x'