Files
RedisClipSync/config.slave.properties.example

17 lines
570 B
Plaintext
Raw 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.
# 从机示例配置:复制为 config.properties 后修改
# 角色MASTER(主机) 或 SLAVE(从机)
role=SLAVE
# Redis 服务器地址(需填写主机所连接的 Redis 服务器地址)
redis.host=192.168.1.100
# Redis 服务器端口
redis.port=6379
# Redis 密码(无密码则留空)
redis.password=
# 监听频道:从机订阅此频道以接收剪贴板数据(需与主机的某个目标频道一致)
slave.listen.channel=machine_a
# 从机唯一标识ID用于区分不同的从机设备建议使用IP或主机名
slave.id=192.168.1.50