Skip to content

Commit

Permalink
Ensure db directory exists #1660 [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hockmann <fh@florian-hockmann.de>
  • Loading branch information
FlorianHockmann committed Jul 2, 2019
1 parent 8fe5983 commit 37343a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions janusgraph-dist/src/assembly/static/bin/janusgraph.sh
Expand Up @@ -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
Expand Down

0 comments on commit 37343a6

Please sign in to comment.