settings {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/var/log/lsyncd/lsyncd.status",
inotifyMode="Modify"
}
sync {
default.rsync,
source =
"/sourcefolder/",
target =
"/destinationfolder/",
delay = 0
Important configuration here is inotifyMode in settings,This parameter specifies what kind of changes to listen to do the action
0 Comments
Post a Comment