mirror of https://github.com/MISP/misp-dashboard
fix: [scl] Fix for scl based OSs.
parent
7e98ad19d5
commit
c809e285d6
|
@ -53,8 +53,12 @@ conf_dir="config/"
|
||||||
|
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
if [ "${check_redis_port}" == "1" ]; then
|
if [ "${check_redis_port}" == "1" ]; then
|
||||||
echo -e $GREEN"\t* Launching Redis servers"$DEFAULT
|
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
|
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
|
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
|
fi
|
||||||
|
|
Loading…
Reference in New Issue