Skip to content

Instantly share code, notes, and snippets.

@pik4ez
Created January 14, 2015 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pik4ez/d1d62f9344228a77e3f3 to your computer and use it in GitHub Desktop.
Save pik4ez/d1d62f9344228a77e3f3 to your computer and use it in GitHub Desktop.
settings {
logfile = "/home/tt4/work/lsyncd/log/lsyncd.log",
statusFile = "/home/tt4/work/lsyncd/log/lsyncd-status.log",
statusInterval = 20
}
sync {
default.rsyncssh,
source = "/home/tt4/mnt/ji/",
host = "root@ngs.ru.ji.d",
targetdir = "/data/projects/n1.ru",
exclude = {"framework"},
rsync = {
archive = false,
compress = false,
whole_file = false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment