mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
0602db1835
FastDFS is an open source high performance distributed file system (DFS). It's major functions include: file storing, file syncing and file accessing, and design for high capacity and load balance. WWW: https://github.com/happyfish100/fastdfs PR: 213311 Submitted by: Daniel Ylitalo <daniel@blodan.se>
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
--- 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
|