[Csync2] csync2.lock

Daniele Palumbo daniele at retaggio.net
Fri Mar 31 03:02:07 CEST 2006


hi again :)

i'm at work with cron, i choosed for "every hour".
but, what if 2 csync will run concurrently? (one hour is not enough, i want to 
run it by command line, ...)

from csync2 stdout:
"Csync2 will refuse to do anything when a /etc/csync2/csync2.lock file is 
found."

good! solved! try it... does not work. csync2 do not create the file.
check this output:
---
root at data:~# strace csync2 -xv 2>&1 | grep csync2.lock
access("/etc/csync2/csync2.lock", F_OK) = -1 ENOENT (No such file or 
directory)
root at data:~#
---

what is going on?

bye
d.
--
PGP Key-ID: 0xF482D454
--
to boldly go where no man has gone before.


More information about the Csync2 mailing list