Journey of Life
January 14, 2016
lsyncd.conf file
settings = {
delay = 0.1,
maxProcesses = 3,
logfile = "/tmp/lsyncd.log",
}
targetlist = {
"192.168.5.203",
"192.168.5.204"
}
for _, server in ipairs(targetlist) do
sync{
default.rsyncssh,
source="/home/me/mysyncdir",
host=server,
targetdir="mysyncdir"
}
end
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment