mirror of https://github.com/MISP/misp-dashboard
- Added comment on MaxMind DB
- Added preliminary checks for redis-serverpull/31/head
parent
766a42cf7c
commit
5529d64696
|
@ -55,7 +55,8 @@ channelLastAwards = lastAwards
|
||||||
[RedisMap]
|
[RedisMap]
|
||||||
db=1
|
db=1
|
||||||
channelDisp=PicToDisplay
|
channelDisp=PicToDisplay
|
||||||
pathMaxMindDB=./data/GeoLite2-City_20171003/GeoLite2-City.mmdb
|
# Database updates regularly make sure to adapt date
|
||||||
|
pathMaxMindDB=./data/GeoLite2-City_20180102/GeoLite2-City.mmdb
|
||||||
path_countrycode_to_coord_JSON=./data/country_code_lat_long.json
|
path_countrycode_to_coord_JSON=./data/country_code_lat_long.json
|
||||||
|
|
||||||
[RedisDB]
|
[RedisDB]
|
||||||
|
|
11
start_all.sh
11
start_all.sh
|
@ -6,10 +6,17 @@ GREEN="\\033[1;32m"
|
||||||
DEFAULT="\\033[0;39m"
|
DEFAULT="\\033[0;39m"
|
||||||
RED="\\033[1;31m"
|
RED="\\033[1;31m"
|
||||||
|
|
||||||
[ -z "$DASH_HOME" ] && echo "Needs the env var DASHENV. Run the script from the virtual environment." && exit 1;
|
[ -z "$DASH_HOME" ] && echo "Needs the env var DASHENV. (Did you: . ./DASHENV/bin/activate ) Please run the script from the virtual environment." && exit 1;
|
||||||
|
|
||||||
|
redis_dir="${DASH_HOME}/../redis/src/"
|
||||||
|
if [ -e "${redis_dir}" ]; then
|
||||||
|
redis_dir=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
[ -f "`which redis-server`" ] || [ ! -e "${redis_dir}" ] && echo "Either ${DASH_HOME}/../redis/src/ does not exist or 'redis-server' is not installed/not on PATH. Please fix and run again." && exit 1
|
||||||
|
|
||||||
conf_dir="${DASH_HOME}/config/"
|
conf_dir="${DASH_HOME}/config/"
|
||||||
redis_dir="${DASH_HOME}/../redis/src/"
|
|
||||||
screenName="Misp-Dashboard"
|
screenName="Misp-Dashboard"
|
||||||
|
|
||||||
screen -dmS "$screenName"
|
screen -dmS "$screenName"
|
||||||
|
|
Loading…
Reference in New Issue