Fwd: sync_shutdown_file example and instructions on how to use it

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


---------- Forwarded message ----------
From: Stephen Ingram <sbingram@xxxxxxxxx>
Date: Wed, Jul 20, 2011 at 9:52 AM
Subject: Re: sync_shutdown_file example and instructions on how to use it
To: "Ivan Lezhnjov Jr." <ivan.lezhnjov.jr@xxxxxxxxx>


sync_client looks for the presence of a particular file. If it finds
it, then it shuts down. If you look at the man page for sync_client
it's mentioned as -F option. I suspect that it's there such that you
don't shut down the process while it's replicating an email and then
your replica would be in an inconsistent state.


On Wed, Jul 20, 2011 at 3:47 AM, Ivan Lezhnjov Jr.
<ivan.lezhnjov.jr@xxxxxxxxx> wrote:
> What do you mean by "detected by"? It doesn't tell me anything.
> At any rate, what is the rationale behind the need to have an external
> script? I'm not software engineer by any means but drawing on my
> overall IT experience it seems most software projects take care of
> that functionality on their own, unless there's a damn good reason to
> have it done by a 3rd party, like flexibility, perhaps. Can anyone
> clarify this aspect?
> On Wed, Jul 20, 2011 at 12:36 PM, Bron Gondwana <brong@xxxxxxxxxxx> wrote:
>> On Wed, Jul 20, 2011 at 11:21:44AM +0300, Ivan Lezhnjov Jr. wrote:
>>> If it's deleted by the sync_client what process should create it then,
>>> and under what conditions?
>> detected by.  You create it to shut down sync_client cleanly, with
>> an external script or by hand.
>> (as for the channel stuff... it's for supporting multiple slaves.  If
>> you check out the documentation for sync_log_channels it has more
>> detail)
>> Bron.
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux