From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 14:44:28 2015 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 587CD9CB for ; Mon, 26 Jan 2015 14:44:28 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 30DC0C62 for ; Mon, 26 Jan 2015 14:44:27 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id D321933C1D; Mon, 26 Jan 2015 09:38:52 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 45DF939819; Mon, 26 Jan 2015 09:38:52 -0500 (EST) From: Lowell Gilbert To: Albert Shih Subject: Re: pkg URL PACKAGESITE References: <20150126143042.GB25999@pcjas.obspm.fr> Reply-To: freebsd-questions@FreeBSD.ORG Date: Mon, 26 Jan 2015 09:38:51 -0500 In-Reply-To: <20150126143042.GB25999@pcjas.obspm.fr> (Albert Shih's message of "Mon, 26 Jan 2015 15:30:42 +0100") Message-ID: <44386xppxg.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@FreeBSD.ORG X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2015 14:44:28 -0000 Albert Shih writes: > I would like to create a mirror of this repository only a mirror of the > package so, just another nginx/apache and a rsync. > > Is it possible to put two URL (knowning it's just a mirror) inside the pkg > repository config ? So if one is down pkg use the other. Give them different repository configs, and set the PRIORITY values in them.