/usr/local/bin in PATH
olli hauer
ohauer at gmx.de
Tue Oct 14 09:54:10 UTC 2014
On 2014-10-14 09:38, Dmitry Sivachenko wrote:
> Hello!
>
> Can we please adopt a change similar to
> http://svnweb.freebsd.org/ports/head/devel/hadoop2/files/datanode.in?r1=360650&r2=364992
>
> for apache startup script so after a reboot cgi-scripts can find interpreters like python from /usr/local/bin/ ?
>
> Thanks.
Have you already tried envvars?
default path:
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
Now create a file ending with '.env' in apache2[24]/envvars and restart apache
# file: etc/apache22/envvars/myvars.env
PATH=${PATH}:/additonal/path
New path:
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/additonal/path"
--
Regards,
olli
More information about the freebsd-apache
mailing list