User Tools

Site Tools


lsyncd_options
settings {
   logfile = "/var/log/lsyncd/lsyncd.log",
   statusFile = "/var/log/lsyncd/lsyncd-status.log",
   statusInterval = 20,
   insist = true
}
sync{
    default.rsyncssh,
    delete = false,
    source="/var/www/vhosts/example.com/public_html",
    host="192.168.122.231",
    targetdir="/var/www/vhosts/example.com/public_html",
    rsync = {
	_extra = { "--include=info.php", "--exclude=*" },
        compress = true,
        archive = true,
        verbose = true,
        rsh = "/usr/bin/ssh -p 22 -o StrictHostKeyChecking=no"
    }
}
lsyncd_options.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki