mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
run init
This commit is contained in:
18
scripts/run.sh
Executable file
18
scripts/run.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
DATA_DIR="/tmp"
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
DATA_DIR="$1"
|
||||
fi
|
||||
|
||||
if [ -z "$RUST_LOG" ]; then
|
||||
export RUST_LOG="rustfs=debug"
|
||||
fi
|
||||
|
||||
cargo run \
|
||||
-- --access-key AKEXAMPLERUSTFS \
|
||||
-- --secret-key SKEXAMPLERUSTFS \
|
||||
-- --host localhost \
|
||||
-- --port 9010 \
|
||||
-- --domain-name localhost:9010 \
|
||||
"$DATA_DIR"
|
||||
Reference in New Issue
Block a user