[rfsd]

#Used to support multi-service deployment (rfsd1, rfsd2, ...)
rfsd_srv_name=rfsd

#Configure RFP 
# port 0 is not enabled, range=2-65535
rfp_server_port=6688
#rfp_server_addr="0.0.0.0,::"

#Configure RFPS
# port 0 is not enabled, range=2-65535
rfps_server_port=6686
#rfps_server_addr="0.0.0.0,::" 
rfps_crt_file=rfsd.crt
rfps_key_file=rfsd.key

#Configure the maximum number of client connections
max_clients=0

#Read data timeout in second
read_timeout=5

#session idle shutdown time in second
idle_session_timeout=300

#Configure vdev config file
#vdev_conf_file=rfsd-vdev.json

#Prevent lsblk devices from getting stuck
#lsblk_blacklist=/dev/sd*|/dev/blacklist/*
lsblk_blacklist=/dev/mem

#Driver output directory
dir_out_dir=tdrv

#user config file
user_conf=rfsd-user.ini


#Configure root name
#Cannot contain characters ;/\"'?:@#
user=

#Configure root password 
#Cannot contain characters ;/\"'?:@#
passwd=

#Control whether root is allowed to login 
permit_root_login=yes

# 1 Read-only limit for all files
readonly=0

#Configure upload maximum data speed (bytes / second)
#upload_max_rate=0

#Configure download maximum data speed (bytes / second)
#download_max_rate=0

#Configure to enable file operation log trace
trace_file_access_enable=0

[login]
# Configure login_file
login_file=login.txt

#Configure roll back log file size[ k m ]
login_file_size=20m

# The maximum number of login failures allowed
login_fail_count=5

# Login failure exceeds login_fail_count of minutes to wait before trying
login_fail_wait_m=3

[debug]
#panic_dump_dir=crash

#Configure httpd
#http_server_addr="0.0.0.0,::"
#http_server_addr="127.0.0.1"
#http_server_port=6680

#Configure debug server 
shell_server_addr="127.0.0.1"
shell_server_port=6681

[log]
#level=verb, dbg, info, warn, err
level=dbg

#flags="time|tid|func|file"
flags=time|tid|func

#Configure the log file name
file=rfsd.log

#Set file mode [a|w] a=add at the end, w=start again
file_mode=a

#Configure roll back log file size[ k m ]
file_size=20m

#Configure the syslog server ip and port
#syslog=udp://192.168.111.7:514

#Configure the bsvlog server ip and port
#bsvlog=udps://dbg.ranfs.com:514

#Open the OutputDebugString output on windows
#dbgview=1

#Debug log initialization
#debug=1

