Skip to content

Commit 5a8fc56

Browse files
committed
fix: remove redundant log directory argument in start-seaweedfs.sh
1 parent 451560d commit 5a8fc56

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

installer/Dockerfile-base

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ ENV PATH=/opt/py3/bin:$PATH \
5757
SEAWEEDFS_SECRET_KEY=seaweedfsadmin \
5858
SEAWEEDFS_VOLUMES=/opt/maxkb/data/seaweedfs \
5959
SEAWEEDFS_S3_BUCKET=maxkb \
60-
SEAWEEDFS_S3_ENDPOINT=http://127.0.0.1:8333 \
61-
SEAWEEDFS_LOG_LEVEL=warn \
62-
SEAWEEDFS_LOG_DIR=/opt/maxkb/log/seaweedfs
60+
SEAWEEDFS_S3_ENDPOINT=http://127.0.0.1:8333
6361

6462
EXPOSE 6379 8333 9333

installer/start-seaweedfs.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
set -e
44

55
mkdir -p "${SEAWEEDFS_VOLUMES:-/opt/maxkb/data/seaweedfs}"
6-
mkdir -p "${SEAWEEDFS_LOG_DIR:-/opt/maxkb/log/seaweedfs}"
76

87
S3_ENDPOINT="${SEAWEEDFS_S3_ENDPOINT:-http://127.0.0.1:8333}"
98
S3_PORT="${S3_ENDPOINT##*:}"
@@ -13,5 +12,4 @@ AWS_SECRET_ACCESS_KEY="${SEAWEEDFS_SECRET_KEY:-seaweedfsadmin}" \
1312
S3_BUCKET="${SEAWEEDFS_S3_BUCKET:-maxkb}" \
1413
/usr/local/bin/weed mini \
1514
-dir="${SEAWEEDFS_VOLUMES:-/opt/maxkb/data/seaweedfs}" \
16-
-s3.port="$S3_PORT" \
17-
-logdir="${SEAWEEDFS_LOG_DIR:-/opt/maxkb/log/seaweedfs}"
15+
-s3.port="$S3_PORT"

0 commit comments

Comments
 (0)