[Csync2] csync2.lock

Eric Liang zhenhuiliang at gmail.com
Fri May 19 01:16:29 CEST 2006


yeah, I want this feature too. it's very possible several people are trying
to
sync something simultanously. maybe to write a script to achieve this?

On 5/18/06, Johan Huysmans <johan.huysmans at x-tend.be> wrote:
>
> Hi,
>
> Is there an option with csync2 that will automatically create
> the /etc/csync2.lock file, and automatically deletes it?
>
> This way you can very easily say that there may only be one instance of
> csync2.
>
> If this option doesn't exists, how can you use the lock file. What's the
> easiest way to create that file a millisecond after the start of csync2?
>
> Thanks and greeting,
> Johan Huysmans
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linbit.com/pipermail/csync2/attachments/20060518/4c76e971/attachment.html


More information about the Csync2 mailing list