Eric Cooper said:
> Can you try setting the http_proxy environment variable before
> starting approx and seeing if that works?  I'll try to add more
> explicit support via approx.conf as well.

That worked-- I set it in /etc/init.d/approx. (I'm not sure why I was
thinking that the daemon wouldn't get a full copy of the environment.)

Rather than reinventing the wheel, maybe it would be a better idea to
source an /etc/defaults/approx file to get environment variables? That
way, if libcurl adds other options, approx users could just change their
defaults file. You could just point users to the libcurl documentation for
proxy setup.

-- 
Charles Lepple



Reply via email to