I have successfully gotten lsyncd to work between two RHEL servers. Everything works great with 1 single exception.
My expectation that is confirmed by documentation is that if the file doesn't exist on the destination, it will be deleted. What is happening is that the only time files that exist on the destination and not in the source are deleted is if I restart the lsyncd service. Is that an expected behavior, or am I missing something?
This is the designed behavior.
Lsyncd is coded to keep the destination synchronous to the source assuming nobody else messes around with the destination.