opnsense-ports/ftp/fastdfs/files/patch-conf-tracker.conf
Franco Fichtner 35ec90a601 */*: sync with upstream
Taken from: HardenedBSD
2020-07-15 20:01:28 +02:00

25 lines
784 B
Text

--- conf/tracker.conf.orig 2019-12-30 23:36:03 UTC
+++ conf/tracker.conf
@@ -20,7 +20,7 @@ connect_timeout = 5
network_timeout = 60
# the base path to store data and log files
-base_path = /home/yuqing/fastdfs
+base_path = /var/db/fastdfs/tracker
# max concurrent connections this server support
# you should set this parameter larger, eg. 10240
@@ -97,11 +97,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