Currently Im using lsyncd to monitor data and sync them (same machine)
settings{
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/var/log/lsyncd/lsyncd_status.log",
maxDelays = 10,
maxProcesses = 15,
}
sync{
default.rsync,
source="/home/user/data/source_data/",
target="/home/user/data/synced_data/",
delete=false,
rsyncOpts={
"--remove-source-files",
"--delay-updates",
"--checksum"
}
}
The problem is I can't pass these parameters for rsync (remove-source-files, delay-updates and checksum)
Im using lsyncd 2.1.4
Here is the error:
Starting lsyncd: Error: error preparing /etc/lsyncd.conf: Parameter "rsyncOpts" unknown. (if this is not a typo add it to checkgauge)