Re: Automatically restart daemons
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.
\\\\///// Matt Kern Tel: (01223) 355588
| | email@example.com http://xanadu.pet.cam.ac.uk/~mwk20/
| O O |
| L | If I had better tools, I could more effectively
| \__ | demonstrate my total incompetence.