diff --git a/janusgraph-dist/src/assembly/static/bin/janusgraph.sh b/janusgraph-dist/src/assembly/static/bin/janusgraph.sh index a2eabd2a52..d3ff60c8be 100755 --- a/janusgraph-dist/src/assembly/static/bin/janusgraph.sh +++ b/janusgraph-dist/src/assembly/static/bin/janusgraph.sh @@ -142,6 +142,8 @@ wait_for_shutdown() { } start() { + mkdir -p "$BIN"/../db + status_class $CASSANDRA_FRIENDLY_NAME $CASSANDRA_CLASS_NAME >/dev/null && status && echo "Stop services before starting" && exit 1 echo "Forking Cassandra..." if [ -n "$VERBOSE" ]; then