httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danek Duvall <dduv...@eng.sun.com>
Subject Re: [PATCH] option to remove default listener
Date Sat, 19 May 2001 00:35:11 GMT
On Fri, May 18, 2001 at 05:22:31PM -0700, Greg Stein wrote:

> Use the new "include all .conf files in <this> directory" feature (it is
> actually in 1.3 and 2.0). As each service is added, they drop their
> specific configuration file into the directory. When the service is
> removed, they remove their .conf file. The web service is just the same:
> add a file and remove on deinstall.
> 
> Your .rc file can simply see if any files are present in the directory.
> If there, then start httpd. If none are present, then don't start.

Yes, I think that should work.  I know I ran across that feature before,
but I can't remember now why I couldn't make it do what I needed.  Perhaps
I was mistaken, or maybe I'll remember again.  At any rate, this ought to
do what I need, and it's a good way of doing it.  (And it works on 1.3,
which may be necessary for me.)

Thanks, Greg!

Danek

Mime
View raw message