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)
