httpd fails after boot

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Jul 23 22:50:39 UTC 2009


Tony Nelson wrote:
> On 09-07-23 17:40:50, Mikkel L. Ellertson wrote:
>> Mike -- EMAIL IGNORED wrote:
>  ...
>>> 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.
>>>
>> What does /etc/sysconfig/httpd look like? Is it possible that you
>> are using the wrong format? You do not really want to change the
>> /etc/init.d/httpd scipt, as an update will probably kill the changes.
> 
> That's not what he's up to.  He wants an environment variable that is 
> used to set up httpd and is also available to other shells, and can't 
> find just one place to set it.
> 
Ah - now I understand. He could always sounds /etc/sysconfig/httpd
from the config for the shell. If he wants it for all users, then
two small scripts in /etc/profile.d for sh and c type shells.
(http.sh and http.sch maybe?)

I would borrow the code from /etc/httpd...

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090723/cb1963ca/attachment-0001.sig>


More information about the fedora-list mailing list