From owner-freebsd-questions@freebsd.org Wed Nov 15 07:45:12 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58FF3DD408C for ; Wed, 15 Nov 2017 07:45:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 17B3018B2 for ; Wed, 15 Nov 2017 07:45:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:9540:d13e:eb59:8c6d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id D28EB170B for ; Wed, 15 Nov 2017 07:45:08 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Subject: Re: Running bsdstats through a proxy To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: <8e1589b3-1fbe-9541-dcd3-778bffd3ce43@FreeBSD.org> Date: Wed, 15 Nov 2017 07:45:08 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pN1cBmacXJDblB8d15FoOcJp5vNv0W8dW" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 07:45:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pN1cBmacXJDblB8d15FoOcJp5vNv0W8dW Content-Type: multipart/mixed; boundary="9gaNPeeg6oba5FxmWucUWiGbThSIp9BxA"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <8e1589b3-1fbe-9541-dcd3-778bffd3ce43@FreeBSD.org> Subject: Re: Running bsdstats through a proxy References: In-Reply-To: --9gaNPeeg6oba5FxmWucUWiGbThSIp9BxA Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 15/11/2017 05:19, Olivier wrote: > Hi, >=20 > I would like to enable bsdstats to run, but I need to configure a proxy= =2E >=20 > I see it rely on the environment variable HTTP_PROXY, but where should = I > define it so that it is used by the monthly periodic script and by > bsdstats launched at boot? >=20 > TIA, >=20 > Olivier >=20 /etc/login.conf should work for you. You can add whatever environment settings you want to the :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK:\ li= ne. Remember to run 'cap_mkdb /etc/login.conf' after editing the file. Cheers, Matthew --9gaNPeeg6oba5FxmWucUWiGbThSIp9BxA-- --pN1cBmacXJDblB8d15FoOcJp5vNv0W8dW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKoBAEBCgCSFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAloL8IRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcUHG1hdHRoZXdA ZnJlZWJzZC5vcmcACgkQAFE/EOCp5OeqoQ/9HeDRc+H7cR+CfwhSuEMUa3efAnUe 5KUsPmwrprgtFH5Wf5jHx9WIKRVPt6u6R8GNXTXnSADkEMu2cOTqSiFL02eANtN4 9BPJjMxqm6px1cTIZPtQRQ1fbWlLWcd4gyfMZtDVt2JMyClDTbHuUhQRy35A0TBw CJoNXacHVDupd84IYKVhkR77h9v+revKSf8blEEDXWX8kN33v7aSzshVKcMLgpNs cBA2vSlbiUEPnOhmc+2meOr53p9PUrpBCOPwqBkAMWhccHHMH76YXj819eXB+ZGn nhIz0tWSCEmze2CjqW0CoXtmOJYNNU0QGV6LqFyvJQd4vnEZ0oAIY15sGkLU60AS S7vErACT46DSdBtXwcVP2SNUiwXLHTShq2hFFRbwaToCDFpzZwjP1IhMHOBrRYfS 9nQzqUBGFbexWtkkl27vzVGISJV6iOf7RRQdMaDEiKg+tjBVOoTNk///JIhTv0Tn qsWYcUSSVj0L+a8sa4kgbrNm86UJYsSZvJL1BDyN3E/65Lumvt3mLZiO6RqzCYLP qi5Z66Z27hS8yGGgEfyhAEaEnw7w89Uy1V562YUyuY99TEhb03tl4cjPfe9iI2vo U+WTQl34cyUc7xJz8q4tuwDojAd0HbpffdqQXZp0DP6oJddvfeyCFfNJQAKW7RYj Z8/QrtrMW1WDmXk= =TZ+b -----END PGP SIGNATURE----- --pN1cBmacXJDblB8d15FoOcJp5vNv0W8dW--