2016-01-19 10:41:03 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
|
|
|
conf_dir="${AIL_HOME}/configs/"
|
|
|
|
|
|
|
|
screen -dmS "Redis"
|
|
|
|
sleep 0.1
|
|
|
|
echo -e $GREEN"\t* Launching Redis servers"$DEFAULT
|
2016-02-04 14:24:39 +00:00
|
|
|
screen -S "Redis" -X screen -t "6379" bash -c '../redis/src/redis-server '$conf_dir'6379.conf ; read x'
|
2016-01-19 10:41:03 +00:00
|
|
|
sleep 0.1
|
2016-02-04 14:24:39 +00:00
|
|
|
screen -S "Redis" -X screen -t "6380" bash -c '../redis/src/redis-server '$conf_dir'6380.conf ; read x'
|
2016-01-19 10:41:03 +00:00
|
|
|
sleep 0.1
|
2016-02-04 14:24:39 +00:00
|
|
|
screen -S "Redis" -X screen -t "6381" bash -c '../redis/src/redis-server '$conf_dir'6381.conf ; read x'
|
2016-01-19 10:41:03 +00:00
|
|
|
|