Skip to content

Commit 37343a6

Browse files
Ensure db directory exists JanusGraph#1660 [skip ci]
Signed-off-by: Florian Hockmann <[email protected]>
1 parent 8fe5983 commit 37343a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

janusgraph-dist/src/assembly/static/bin/janusgraph.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ wait_for_shutdown() {
142142
}
143143

144144
start() {
145+
mkdir -p "$BIN"/../db
146+
145147
status_class $CASSANDRA_FRIENDLY_NAME $CASSANDRA_CLASS_NAME >/dev/null && status && echo "Stop services before starting" && exit 1
146148
echo "Forking Cassandra..."
147149
if [ -n "$VERBOSE" ]; then

0 commit comments

Comments
 (0)