mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
add s3 access check
This commit is contained in:
@@ -31,4 +31,12 @@ if [ -n "$1" ]; then
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# check ./rustfs/static/index.html not exists
|
||||
if [ ! -f ./rustfs/static/index.html ]; then
|
||||
echo "Downloading rustfs-console-latest.zip"
|
||||
# download rustfs-console-latest.zip do not show log
|
||||
curl -s -L "https://dl.rustfs.com/console/rustfs-console-latest.zip" -o tempfile.zip && unzip -q -o tempfile.zip -d ./rustfs/static && rm tempfile.zip
|
||||
fi
|
||||
|
||||
cargo run --bin rustfs
|
||||
Reference in New Issue
Block a user