Re: Automatically restart daemons
On Fri, 4 Jun 1999, Tom Lear wrote:
> I assuming theres a command in emacs to run the code in the file being
> edited or something,
Yup -- the most useful way is to specify a different compile command, so
'M-x compile' will restart the daemon.
> in which case just put '#/etc/init.d/apache reload'
> in your httpd.conf file.
This is exactly what I was proposing.
> I would be strongly opposed to putting this
> level of emacs-centricity in Debian. There's no reason to duplicate the
> code since the init.d script comes with the package.
There is a reason; it makes it easier for the sysadmins and points out to
the newbie how they effect the changes they have made.
\\\\///// 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.