httpd fails after boot
Mike -- EMAIL IGNORED
m_d_berger_1900 at yahoo.com
Thu Jul 23 21:29:28 UTC 2009
On Thu, 23 Jul 2009 21:59:44 +0100, Sharpe, Sam J wrote:
[...]
>
> If you look at /etc/init.d/httpd, you will see:
>
> if [ -f /etc/sysconfig/httpd ]; then
> . /etc/sysconfig/httpd
> fi
>
> So the initialisation script sources that file. If you want to set
> Environment variables that are available when Apache starts, it would
> make sense to try adding those variables to /etc/sysconfig/httpd - it
> might do what you want for minimal effort...
>
> --
> Sam
If that would work, then I could just as well export
the variable from /etc/init.d/httpd . I just tried
that and the web server started, but the variable
was not available in the bash shell, so I am still
stuck with setting it in two places.
Mike.
More information about the fedora-list
mailing list