Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- settings {
- logfile = "/var/log/lsyncd/lsyncd.log",
- statusFile = "/var/log/lsyncd/lsyncd.status"
- }
- sync {
- default.rsyncssh,
- source = "/var/www/html/multisource",
- host="user@<ip_address>",
- targetdir = "/var/www/html/multisource",
- delay = 5,
- rsync = {
- perms = true,
- owner = true,
- group = true,
- --include = {"/temp", "/temp1"},
- --exclude = {"/*"}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement