From 43fa118a020cd90e2875768194e4b824c9e3e98e Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Tue, 5 Apr 2022 09:56:15 +0100 Subject: [PATCH] Persist filer data --- seaweedfs-start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seaweedfs-start.sh b/seaweedfs-start.sh index da06f89..6918f95 100755 --- a/seaweedfs-start.sh +++ b/seaweedfs-start.sh @@ -4,10 +4,10 @@ BIN_DIR=/app SEAWEEDFS_MASTERS=10.10.100.1:9333 # Need an odd number #,10.10.100.21:9333 if test "${LIGHTHOUSE}" == "true"; then - ${BIN_DIR}/weed master -mdir=/storage -peers=${SEAWEEDFS_MASTERS} & + ${BIN_DIR}/weed master -mdir=/storage/raw -peers=${SEAWEEDFS_MASTERS} & else - ${BIN_DIR}/weed volume -dir=/storage -mserver=${SEAWEEDFS_MASTERS} & - ${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} & + ${BIN_DIR}/weed volume -dir=/storage/raw -mserver=${SEAWEEDFS_MASTERS} & + ${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} -defaultStoreDir=/storage/filer & ${BIN_DIR}/weed filer.remote.sync -dir=/ & fi