monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Syncing databases without using a network?


From: Richard Levitte - VMS Whacker
Subject: Re: [Monotone-devel] Syncing databases without using a network?
Date: Wed, 25 Jan 2006 20:09:34 +0100 (CET)

In message <address@hidden> on Wed, 25 Jan 2006 18:03:19 +0100, Christof Petig 
<address@hidden> said:

christof> --------------->8------------------
christof> #!/bin/sh
christof> monotone -d $1 serve --bind localhost serve \* &
christof> monotone -d $2 pull localhost \*
christof> kill %monotone
christof> ---------------------------------

A nit to pick: I thought the original sh didn't have job control, has
that changed?  Or could it be that you did that on a Linux system,
where /bin/sh is commonly a symlink to /bin/bash?

A more careful approach would probably be to use --pid-file

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]