Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Update entrypoint.sh

Amin Cheloh48a24559a3c4
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
index bdde2caa4a..34ab61148a 100755
--- a/docker/entrypoint.sh
+++ b/docker/entrypoint.sh
@@ -8,7 +8,7 @@ case "$1" in
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -peers=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi
- /usr/bin/weed $@ $ARGS
+ exec /usr/bin/weed $@ $ARGS
;;
'volume')
@@ -17,7 +17,7 @@ case "$1" in
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -mserver=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi
- /usr/bin/weed $@ $ARGS
+ exec /usr/bin/weed $@ $ARGS
;;
'server')
@@ -25,10 +25,10 @@ case "$1" in
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -master.peers=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi
- /usr/bin/weed $@ $ARGS
+ exec /usr/bin/weed $@ $ARGS
;;
*)
- /usr/bin/weed $@
+ exec /usr/bin/weed $@
;;
-esac
+esac