[LinuxFailSafe] apache resource script patch
Lars Marowsky-Bree
lmb@suse.de
Thu, 9 May 2002 16:18:35 +0200
On 2002-05-09T14:49:03,
Martin Bene <martin.bene@icomedias.com> said:
> I've found the apache resource script lacking in three places for use on my
> system:
> * there's no way to specify aditional comandline parameters. For
> example, running the SSL enabled (mod_ssl) apache, needs a "-DSSL"
> parameter
I don't like this part of the patch. This can be specified in the config file;
in fact, all that -DSSL does is make sone <IfDefine ...> in the config file go
the right way.
> * for some setups, I need some aditional stuff set up, like ulimit,
> environment variables (oracle DB access)...
I don't like this either; I think you should be able to set this in the
configuration file (except maybe the ulimit).
If you had said "I want to run Apache as a specific user" or something, where
you could put this into his .profile, now that might have been slightly better
;-)
> * it doesn't find the httpd binary in the default location used by
> the apache distribution if I compile it localy.
Point.
> before. BTW, is there a better way of defining optional resource parameters?
Not really I am afraid. The point being that the instance parameters are
supposed to be the absolutely minimal set of parameters required to identify
an instance, so they should usually not be "optional".
Sincerely,
Lars Marowsky-Brée <lmb@suse.de>
--
Immortality is an adequate definition of high availability for me.
--- Gregory F. Pfister