rm -f $LOCK_DAILY $LOCK_ACCEPTED
}
+function remove_locks {
+ remove_all_locks
+ trap - EXIT TERM HUP INT QUIT
+ ts "locked part finished"
+}
+
+function lockaccepted {
+ lockfile "$LOCK_ACCEPTED"
+ trap remove_all_locks EXIT TERM HUP INT QUIT
+}
+
# If we error out this one is called, *FOLLOWED* by cleanup above
function onerror() {
ERRDATE=$(date "+%Y.%m.%d-%H:%M:%S")
# pushing merkels QA user, part one
function qa1() {
log "Telling QA user that we start dinstall"
- ssh -2 -i ~dak/.ssh/push_merkel_qa -o BatchMode=yes -o SetupTimeOut=90 -o ConnectTimeout=90 qa@qa.debian.org sleep 1
+ ssh -n -2 -i ~dak/.ssh/push_merkel_qa -o BatchMode=yes -o SetupTimeOut=90 -o ConnectTimeout=90 qa@qa.debian.org sleep 1
}
# Updating various files
echo "Running on host $(hostname -f)" >> /srv/ftp.debian.org/web/${fname}
sudo -H -u archvsync /home/archvsync/runmirrors ${pusharg} > ~dak/runmirrors-${archive}.log 2>&1 &
fi
+ done
}
function mirrorpush-backports() {