Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 07:45:08 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Running bsdstats through a proxy
Message-ID:  <8e1589b3-1fbe-9541-dcd3-778bffd3ce43@FreeBSD.org>
In-Reply-To: <wu7y3n8w23g.fsf@banyan.cs.ait.ac.th>
References:  <wu7y3n8w23g.fsf@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--pN1cBmacXJDblB8d15FoOcJp5vNv0W8dW
Content-Type: multipart/mixed; boundary="9gaNPeeg6oba5FxmWucUWiGbThSIp9BxA";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-questions@freebsd.org
Message-ID: <8e1589b3-1fbe-9541-dcd3-778bffd3ce43@FreeBSD.org>
Subject: Re: Running bsdstats through a proxy
References: <wu7y3n8w23g.fsf@banyan.cs.ait.ac.th>
In-Reply-To: <wu7y3n8w23g.fsf@banyan.cs.ait.ac.th>

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8e1589b3-1fbe-9541-dcd3-778bffd3ce43>