X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=bin%2Fcreate_mirror;h=612bd2610599a9e6825a57ca1f0789c786cc488e;hb=d4f31eca5ac9e5d9b908ded4606cf50e3824ea0d;hp=e9cdf05ef7b2e8e703771115e9f4399723dd3f73;hpb=1ac63b1ac6c696a8dd9f66af1dd91219e153fe3f;p=deb%2Fpackages.git diff --git a/bin/create_mirror b/bin/create_mirror index e9cdf05..612bd26 100755 --- a/bin/create_mirror +++ b/bin/create_mirror @@ -12,7 +12,7 @@ STAMP=$(date "+%Y%m%d%H%M") new="$mirror/$STAMP" mkdir $new -if lockfile -! -r2 -300 "$mirror/mirror.lock" +if lockfile -! -l 3600 -r2 -300 "$mirror/mirror.lock" then echo "couldn't aquire mirror.lock in due time" exit 1;