mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-16 17:20:33 +00:00
upgrade protobuf download link and improve code for readme.md
This commit is contained in:
@@ -47,6 +47,7 @@ ExecStart=/usr/local/bin/rustfs \
|
||||
# --console-address 0.0.0.0:9002:控制台监听所有接口的 9002 端口。
|
||||
|
||||
# 定义环境变量配置,用于传递给服务程序,推荐使用且简洁
|
||||
# rustfs 示例文件 详见: `../config/rustfs-zh.env`
|
||||
EnvironmentFile=-/etc/default/rustfs
|
||||
ExecStart=/usr/local/bin/rustfs $RUSTFS_VOLUMES $RUSTFS_OPTS
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ ExecStart=/usr/local/bin/rustfs \
|
||||
--console-address 0.0.0.0:9002
|
||||
|
||||
# environment variable configuration (Option 2: Use environment variables)
|
||||
# rustfs example file see: `../config/rustfs.env`
|
||||
EnvironmentFile=-/etc/default/rustfs
|
||||
ExecStart=/usr/local/bin/rustfs $RUSTFS_VOLUMES $RUSTFS_OPTS
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ SINKS__WEBHOOK__BATCH_SIZE=100
|
||||
SINKS__WEBHOOK__BATCH_TIMEOUT_MS=1000
|
||||
|
||||
SINKS__FILE__ENABLED=true
|
||||
SINKS__FILE__PATH=./deploy/logs/app.log
|
||||
SINKS__FILE__PATH=./deploy/logs/rustfs.log
|
||||
SINKS__FILE__BATCH_SIZE=10
|
||||
SINKS__FILE__BATCH_TIMEOUT_MS=1000
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ batch_timeout_ms = 1000 # 批处理超时时间,单位为毫秒
|
||||
|
||||
[sinks.file] # 文件接收器配置
|
||||
enabled = true # 是否启用文件接收器
|
||||
path = "/Users/qun/Documents/rust/rustfs/s3-rustfs/logs/app.log" # 日志文件路径
|
||||
path = "./deploy/logs/rustfs.log" # 日志文件路径
|
||||
batch_size = 10 # 批处理大小
|
||||
batch_timeout_ms = 1000 # 批处理超时时间,单位为毫秒
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ batch_timeout_ms = 1000 # Default is 100ms if not specified
|
||||
|
||||
[sinks.file]
|
||||
enabled = true
|
||||
path = "./deploy/logs/app.log"
|
||||
path = "./deploy/logs/rustfs.log"
|
||||
batch_size = 100
|
||||
batch_timeout_ms = 1000 # Default is 8192 bytes if not specified
|
||||
|
||||
|
||||
Reference in New Issue
Block a user