From 95ec2ca2d70021bf6c40cb668b6c30caaf3b0754 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sat, 2 Apr 2022 17:52:05 +0100 Subject: [PATCH] Add a `weed` filer --- seaweedfs-start.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/seaweedfs-start.sh b/seaweedfs-start.sh index 962e4aa..261f3d7 100755 --- a/seaweedfs-start.sh +++ b/seaweedfs-start.sh @@ -4,7 +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 -port=9333 -mdir=/storage -peers=${SEAWEEDFS_MASTERS} + ${BIN_DIR}/weed master -mdir=/storage -peers=${SEAWEEDFS_MASTERS} & else - ${BIN_DIR}/weed volume -dir=/storage -port=8080 -mserver=${SEAWEEDFS_MASTERS} + ${BIN_DIR}/weed volume -dir=/storage -mserver=${SEAWEEDFS_MASTERS} & + ${BIN_DIR}/weed filer -master=${SEAWEEDFS_MASTERS} & fi + +wait