fix: [scl] Fix for scl based OSs.

pull/91/head
Steve Clement 2019-05-08 20:07:47 +09:00
parent 7e98ad19d5
commit c809e285d6
1 changed files with 6 additions and 2 deletions

View File

@ -54,7 +54,11 @@ conf_dir="config/"
sleep 0.1
if [ "${check_redis_port}" == "1" ]; then
echo -e $GREEN"\t* Launching Redis servers"$DEFAULT
$REDIS_RUN redis-server ${conf_dir}6250.conf &
if [[ -z $REDIS_RUN ]]; then
$REDIS_RUN "redis-server ${conf_dir}6250.conf" &
else
redis-server ${conf_dir}6250.conf &
fi
else
echo -e $RED"\t* NOT starting Redis server, made a very unrealiable check on port 6250, and something seems to be there… please double check if this is good!"$DEFAULT
fi