diff options
Diffstat (limited to 'ftp/fastdfs/files/patch-conf-storage.conf')
-rw-r--r-- | ftp/fastdfs/files/patch-conf-storage.conf | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ftp/fastdfs/files/patch-conf-storage.conf b/ftp/fastdfs/files/patch-conf-storage.conf new file mode 100644 index 000000000000..51b71c74fa2d --- /dev/null +++ b/ftp/fastdfs/files/patch-conf-storage.conf @@ -0,0 +1,36 @@ +--- conf/storage.conf.orig 2016-08-08 07:17:50 UTC ++++ conf/storage.conf +@@ -38,7 +38,7 @@ heart_beat_interval=30 + stat_report_interval=60 + + # the base path to store data and log files +-base_path=/home/yuqing/fastdfs ++base_path=/var/db/fastdfs/storage + + # max concurrent connections the server supported + # default value is 256 +@@ -106,8 +106,8 @@ store_path_count=1 + + # store_path#, based 0, if store_path0 not exists, it's value is base_path + # the paths must be exist +-store_path0=/home/yuqing/fastdfs +-#store_path1=/home/yuqing/fastdfs2 ++store_path0=/var/db/fastdfs/storage ++#store_path1=/var/db/fastdfs/storage2 + + # subdir_count * subdir_count directories will be auto created under each + # store_path (disk), value can be 1 to 256, default value is 256 +@@ -130,11 +130,11 @@ log_level=info + + #unix group name to run this program, + #not set (empty) means run by the group of current user +-run_by_group= ++run_by_group=_fastdfs + + #unix username to run this program, + #not set (empty) means run by current user +-run_by_user= ++run_by_user=_fastdfs + + # allow_hosts can ocur more than once, host can be hostname or ip address, + # "*" (only one asterisk) means match all ip addresses |