Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsyncOps in documentation should be rsyncOpts #82

Open
GoogleCodeExporter opened this issue Aug 3, 2015 · 4 comments
Open

rsyncOps in documentation should be rsyncOpts #82

GoogleCodeExporter opened this issue Aug 3, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant