[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatically restart daemons

On Fri, 4 Jun 1999, Matt Kern wrote:

> On Thu, 3 Jun 1999, Tom Lear wrote:
> > Okay I edit httpd.conf, I save it (without exiting), then I run
> > "/etc/init.d/apache reload".  How would this change with your suggestion?
> > All you said to do was copy the restart code into the postinst/prerm
> > scripts, rather than have those scripts call /etc/init.d/<daemon>.  This
> > would just mean more duplicated code with more places where a single bug
> > might need to be fixed.
> No.  I said to copy the code into httpd.conf.  You can then restart the
> daemon from emacs, and be ready to make any further mods to the file if
> the desired effect wasn't achieved. 

Code in httpd.conf (unless commented) will cause the server not to load.
Why would I want code in the httpd.conf file?
							- Tom

Reply to: