You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
minio/docker/start.sh

14 lines
285 B

#!/bin/bash
if [ "$1" = 'fs' ]; then
if [ -z "$2" ]; then
echo "Invalid arguments"
echo "Usage: fs <export_dir>"
exit 1
else
/bin/mkdir -p "$2" && /minio init fs "$2" && /minio server
fi
else
echo "Usage: fs <export_dir>"
exit 0
fi