ayourtch / lsyncd

Automatically exported from code.google.com/p/lsyncd
GNU General Public License v2.0
0 stars 0 forks source link

rsyncOps in documentation should be rsyncOpts #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Create a lsyncd.conf config file, with the following line
2. sync{default.rsync, source="/export", target="xxxx::standby-export", 
rsyncOps="-ptgols"}
3. Start lsyncd with lsyncd /etc/lsyncd.conf
4. Error: error preparing /etc/lsyncd.conf: lsyncd.lua:3295: 'rsyncOpts' and 
'rsyncOps' provided in config, decide for one.

What is the expected behavior? What does Lsyncd do instead?

lsyncd should accept rsyncOps,  as described in the manual. It doesn't because 
in the source rsyncOpts is defined, and it does not accept both. Using 
rsyncOpts in the config file fixes this.

What version of Lsyncd are you using? On what operating system (host and
target(s)?

2.0.5

Original issue reported on code.google.com by bjorn.hijmans@gmail.com on 28 Aug 2011 at 7:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Complete configfile:

settings = {
        logfile    = "/var/log//lsyncd.log",
        statusFile = "/var/log//lsyncd.status"
}
sync{default.rsync, source="/export", target="xxxx::standby-export", 
rsyncOps="-ptgols"}

Original comment by bjorn.hijmans@gmail.com on 28 Aug 2011 at 7:38

GoogleCodeExporter commented 9 years ago
Ooops! 

Lsyncd 2.0.5 was supposed to accept both, but to error if the user gives both. 
However the default value is inherited and always makes the error if rsyncOps 
is used. Will be fixed for next release, supposevly soon again.

Original comment by axk...@gmail.com on 29 Aug 2011 at 7:29

GoogleCodeExporter commented 9 years ago
Your issue has been moved to https://github.com/axkibe/lsyncd/issues

Original comment by axk...@gmail.com on 16 Nov 2011 at 3:58