[Csync2] csync2.lock

Johan Huysmans johan.huysmans at x-tend.be
Thu May 18 10:16:28 CEST 2006


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


More information about the Csync2 mailing list