4 # avoid the crontab job for an hour
5 # wait until the running instance is done and create a void stamp
9 ls /git-mirror/RUNNING_MIRROR >& /dev/null || {
10 touch /git-mirror/RUNNING_MIRROR
11 echo "OK, git-mirror stopped for an hour"
19 rm /git-mirror/RUNNING_MIRROR
26 *) echo "Usage: $COMMAND start|stop";;