use /data for filer

This commit is contained in:
Chris Lu 2018-12-27 14:28:28 -08:00
parent 3cb2333679
commit 469afddc80
2 changed files with 1 additions and 2 deletions

View file

@ -29,7 +29,6 @@ case "$1" in
;; ;;
'filer') 'filer')
exec mkdir /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"

View file

@ -1,3 +1,3 @@
[leveldb] [leveldb]
enabled = true enabled = true
dir = "/data/filerdb" dir = "/data"