I do this on a regular (nightly!) basis - my script does the rsync and
then just runs an ssh to run the remote script.  Not quite the same thing
as having the rsync daemon do it, but quite powerful.

On Wed, 7 Feb 2001, Wrieth, Henry wrote:

> Greetings,
> 
> I primarily use rsync to update remote hosts when source files are edited.
> This means from one host, I upload to many rsync daemons listening on those
> remote hosts.   This is much easier for me than running a daemon on the
> source and executing pulls on all the remote hosts.  
> 
> My problem is that I often want to execute post-distribution scripts on the
> endpoints (daemons) such as 'bounce_the_server'.  This is similar to
> Interwoven's OpenDeploy feature "deploy_and_run".   It seems trivial to do
> this when running rsync over rsh or ssh since we already have .rhosts trust
> to run rsync itself and thus can run other rsh commands.  But when running
> in client-server mode there would need to be a
> '--execute=/path/to/script.sh' Option to do this.
> 
> Has anybody thought about or working on this type of functionality?
> 
> Regards,
> 
> Henry Wrieth
> 
> > CREDIT | FIRST
> > SUISSE | BOSTON
> Global Internet Intranet Services /
> Global Web Services (New York)
> 
> > Voice:      212.325.7714
> Fax:          212.325.9596
> E-mail:       [EMAIL PROTECTED]
> Page:         888.977.8523 or
>               [EMAIL PROTECTED]
> 
>  <<Wrieth, Henry.vcf>> 
> 
> This message is for the named person's use only.  It may contain 
> confidential, proprietary or legally privileged information.  No 
> confidentiality or privilege is waived or lost by any mistransmission.
> If you receive this message in error, please immediately delete it and all
> copies of it from your system, destroy any hard copies of it and notify the
> sender.  You must not, directly or indirectly, use, disclose, distribute, 
> print, or copy any part of this message if you are not the intended 
> recipient. CREDIT SUISSE GROUP and each of its subsidiaries each reserve
> the right to monitor all e-mail communications through its networks.  Any
> views expressed in this message are those of the individual sender, except
> where the message states otherwise and the sender is authorised to state 
> them to be the views of any such entity.
> Unless otherwise stated, any pricing information given in this message is 
> indicative only, is subject to change and does not constitute an offer to 
> deal at any price quoted.
> Any reference to the terms of executed transactions should be treated as 
> preliminary only and subject to our formal written confirmation.
> 
> 
> 
> 

--
Robert Scholten                   Tel:   +61 3 8344 5457  Mob: 0412 834 196
School of Physics                 Fax:   +61 3 9347 4783
University of Melbourne           email: [EMAIL PROTECTED]
Victoria 3010  AUSTRALIA          http://www.ph.unimelb.edu.au/~scholten


Reply via email to