axkibe/lsyncd — Issue #82: rsyncOps in documentation should be rsyncOpts
Author: axkibe
Created: 2011-11-16 15:10:14+00:00
State: open

Originally filed by bjorn.hijmans@gmail.com on 2011-08-28T19:37:00

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