Skip to content

Commit 505df50

Browse files
committed
ensure data-dir exists
1 parent 6798ca9 commit 505df50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Docker/nodeosd.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/sh
22
cd /opt/eosio/bin
33

4+
if [ ! -d "/opt/eosio/bin/data-dir" ]; then
5+
mkdir /opt/eosio/bin/data-dir
6+
fi
7+
48
if [ -f '/opt/eosio/bin/data-dir/config.ini' ]; then
59
echo
610
else

0 commit comments

Comments
 (0)