mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
12 lines
213 B
Bash
Executable File
12 lines
213 B
Bash
Executable File
#!/bin/bash -ex
|
|
BIN=$1
|
|
VOLUME=$2
|
|
|
|
chmod +x $BIN
|
|
sudo mkdir -p $VOLUME
|
|
|
|
export RUST_LOG="rustfs=debug,ecstore=debug,s3s=debug,iam=debug"
|
|
export RUST_BACKTRACE=full
|
|
|
|
sudo nohup $BIN $VOLUME > /tmp/rustfs.log 2>&1 &
|