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!
Attachment:
signature.asc
Description: OpenPGP digital signature
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines