You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Original issue reported on code.google.com by
bjorn.hijmans@gmail.com
on 28 Aug 2011 at 7:37The text was updated successfully, but these errors were encountered: