163 Star 1K Fork 228

GVPhappyfish100 / FastDFS

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
setup.sh 763 Bytes
Copy Edit Web IDE Raw Blame History
if [ -n "$1" ]; then
TARGET_CONF_PATH=$1
else
TARGET_CONF_PATH=/etc/fdfs
fi
mkdir -p $TARGET_CONF_PATH
if [ ! -f $TARGET_CONF_PATH/tracker.conf ]; then
cp -f conf/tracker.conf $TARGET_CONF_PATH/tracker.conf
fi
if [ ! -f $TARGET_CONF_PATH/storage.conf ]; then
cp -f conf/storage.conf $TARGET_CONF_PATH/storage.conf
fi
if [ ! -f $TARGET_CONF_PATH/client.conf ]; then
cp -f conf/client.conf $TARGET_CONF_PATH/client.conf
fi
if [ ! -f $TARGET_CONF_PATH/storage_ids.conf ]; then
cp -f conf/storage_ids.conf $TARGET_CONF_PATH/storage_ids.conf
fi
if [ ! -f $TARGET_CONF_PATH/http.conf ]; then
cp -f conf/http.conf $TARGET_CONF_PATH/http.conf
fi
if [ ! -f $TARGET_CONF_PATH/mime.types ]; then
cp -f conf/mime.types $TARGET_CONF_PATH/mime.types
fi

Comment ( 0 )

Sign in for post a comment

C
1
https://git.oschina.net/fastdfs100/fastdfs.git
git@git.oschina.net:fastdfs100/fastdfs.git
fastdfs100
fastdfs
FastDFS
master

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385