17 lines
383 B
Plaintext

settings {
logfile = "/home/frappe/lsyncd/lsyncd.logs",
statusFile = "/home/frappe/lsyncd/lsyncd.status"
}
sync {
default.rsyncssh,
source="/home/jingrow/agent/nginx",
host="{{ secondary_private_ip }}",
targetdir="/home/jingrow/agent/nginx",
rsync = {
archive = true,
acls = true,
xattrs = true,
compress = true,
},
}