-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
settings {
logfile = "/var/log/lsyncd.log",
statusFile = "/var/run/lsyncd.status",
nodaemon = false,
log = all,
statusInterval = 180,
maxProcesses = 1,
inotifyMode = "CloseWrite or Modify",
maxDelays = 20
}
sync {
default.rsyncssh,
source=來源資料夾,
host=目標ip,
targetdir=目標資料夾,
rsync = {
perms = true,
archive = true,
compress = true,
whole_file = false,
_extra = {"--bwlimit=5000"}
},
ssh = {
port = 22
}
}
Metadata
Metadata
Assignees
Labels
No labels