Running bsdstats through a proxy

Matthew Seaman matthew at FreeBSD.org
Wed Nov 15 07:45:12 UTC 2017


On 15/11/2017 05:19, Olivier wrote:
> Hi,
> 
> I would like to enable bsdstats to run, but I need to configure a proxy.
> 
> 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?
> 
> TIA,
> 
> Olivier
> 

/etc/login.conf should work for you.  You can add whatever environment
settings you want to the  :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\ line.

Remember to run 'cap_mkdb /etc/login.conf' after editing the file.

	Cheers,

	Matthew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 992 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20171115/6518d416/attachment.sig>


More information about the freebsd-questions mailing list