Wrong lsyncd version! DOH!

10 views
Skip to first unread message

Robert Susmilch

unread,
Apr 1, 2011, 11:43:52 PM4/1/11
to project-lipsync
Well I figured out right before I was going to give up that I had the
Squeeze version from the repos, 1.3.4 I think... not the new 2.0.4 from
googlecode. DOH. Compiled it but can't figure out how to make lsyncd
work with a non standard ssh port. It seems I have to change my
ssh_config file then it works. I tried editing the lua file but haven't
a clue... not like any language I know.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert Susmilch
Computer Pro

Root Unlimited, LLC
Your One Stop Computer Shop

218-444-3309
http://www.rootunlimited.com
rob...@rootunlimited.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Phil Cryer

unread,
Apr 3, 2011, 8:34:02 PM4/3/11
to project...@googlegroups.com, Robert Susmilch
Yep, sorry, I changed a few things - but it was the move to lsyncd2
that precluded much of it. I think things will be much smoother now,
and so far I've just created a normal /etc/lipsyncd, then the
variables are sourced and called on the command-line, so for now I'm
not using the lua config. The separate rsync is for the client to
check with the server to see if anything has changed that it doesn't
know about - otherwise it only checks when IT has something that is
new/changed. I would like to make it so after a file changes, lipsyncd
is called, sync's new stuff to the server, then have it do the 2nd
rsync where it also asks the server for new things over there. Of
course if things never change on the client it will never do that,
thus the reason for a 15 min cron run.

I'm always open to other ideas/approaches, so let me know if think any
of that could be improved upon.

Thanks

P

--
http://philcryer.com

Reply all
Reply to author
Forward
0 new messages