Closed GoogleCodeExporter closed 9 years ago
There is no config= syntax. You just say ./lsyncd and the config file like
./lsyncd /etc/lsyncd.conf
The manual states
""Lsyncd 2.0 is designed to be primarily configured through a config file (see below). The config file can thus be the only command line option.
lsyncd CONFIGFILE""
In my humble opinion, this is not uncear.
Addiotionally in Layer 4 it explains how to make a most simple example.
"To sync a local directory using default rsync behavior just add this to a
config file:
sync{default.rsync, source="DIRNAME", target="DIRNAME"}"
Original comment by axk...@gmail.com
on 11 Jun 2011 at 2:07
Hi,
Thanks for the followup. I did a bit more testing; I think my confusion arose
from default behaviour of this error message:
[root@gkc1 ~]# lsyncd config
Error: config:6: no actions specified, use e.g. 'config=default.rsync'.
I believe you might need to do a slight adjustment to your documentation wiki.
At the URL,
http://code.google.com/p/lsyncd/wiki/Lsyncd20Manual#Layer_4_Configuration:_Defau
lt_Behavior
In the section which begins, "default.rsyncssh", you provide an example which
reads as follows:
sync{default.rsync, source="/home/user/src/", host="foohost.com",
targetdir="~/trg/" rsyncOps="-ltus"}
and I wonder, possibly it should read instead "default.rsyncssh" instead, ie,
sync{default.rsyncssh, source="/home/user/src/", host="foohost.com",
targetdir="~/trg/" rsyncOps="-ltus"}
As per your advice I've adjusted my syntax and now appear to be getting
successfull sync behaviour, which is great.
Tim
Original comment by tim.chip...@gmail.com
on 12 Jun 2011 at 2:19
Original issue reported on code.google.com by
tim.chip...@gmail.com
on 10 Jun 2011 at 1:02