Files
RedisClipSync/config.master.properties.example

25 lines
774 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 主机示例配置v1.1.0):复制为 config.properties 后修改
# 角色MASTER(主机) 或 SLAVE(从机)
role=MASTER
# Redis 服务器地址
redis.host=127.0.0.1
# Redis 服务器端口
redis.port=6379
# Redis 密码(无密码则留空)
redis.password=
# 目标频道列表:主机将剪贴板内容推送到这些频道,多个频道用逗号分隔
master.target.channels=machine_a,machine_b
# 主机标识:用于日志中的 source/target 字段
master.id=master
# 统一日志目录:主机和从机都记录到该目录(本机)
log.save.dir=./clipboard_logs/
# 传输加密开关(建议开启)
crypto.enabled=true
# AES-256 密钥Base64解码后必须为32字节主从必须一致
crypto.key=REPLACE_WITH_BASE64_32_BYTE_KEY