User Tools

Site Tools


lsyncd_options

This is an old revision of the document!


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",
    -- include={ "/etc/lsyncd-includes.txt" },
    rsync = {
        compress = true,
        archive = true,
        verbose = true,
        rsh = "/usr/bin/ssh -p 22 -o StrictHostKeyChecking=no"
    }
}
lsyncd_options.1503323270.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

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