ensure folder /data/filerdb

This commit is contained in:
Chris Lu 2018-12-27 14:35:41 -08:00
parent fe3805d1cb
commit c4b15a98c6

View file

@ -29,7 +29,7 @@ case "$1" in
;; ;;
'filer') 'filer')
exec mkdir /data/filerdb exec /usr/bin/mkdir -p /data/filerdb
ARGS="-ip `hostname -i` " ARGS="-ip `hostname -i` "
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT" ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"