2025-12-23 19:56:26 +08:00

18 lines
434 B
Plaintext

settings {
logfile = "/home/jingrow/lsyncd/lsyncd.logs",
statusFile = "/home/jingrow/lsyncd/lsyncd.status"
}
sync {
default.rsyncssh,
source="/home/jingrow/benches",
host="{{ secondary_private_ip }}",
targetdir="/home/jingrow/benches",
rsync = {
archive = true,
acls = true,
xattrs = true,
compress = true,
rsh = "/usr/bin/ssh -p {{ secondary_ssh_port }}",
},
}