Revert "use /data for filer"

This reverts commit 469afddc80.
This commit is contained in:
Chris Lu 2018-12-27 14:29:34 -08:00
parent 469afddc80
commit fe3805d1cb
2 changed files with 2 additions and 1 deletions

View file

@ -29,6 +29,7 @@ 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" dir = "/data/filerdb"